mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
PR: ports/102200 Submitted by: Armin Pirkovitsch <a.pirko@inode.at> Approved by: Maintainer timout
20 lines
963 B
C
20 lines
963 B
C
--- source/blender/blenlib/intern/storage.c.orig Sun Mar 19 14:28:01 2006
|
|
+++ source/blender/blenlib/intern/storage.c Mon Aug 21 23:50:20 2006
|
|
@@ -50,7 +50,7 @@
|
|
#include <time.h>
|
|
#include <sys/stat.h>
|
|
|
|
-#if !defined(linux) && (defined(__sgi) || defined(__sun__) || defined(__sun) || defined(__sparc) || defined(__sparc__))
|
|
+#if !defined(__FreeBSD__) && !defined(linux) && (defined(__sgi) || defined(__sun__) || defined(__sun) || defined(__sparc) || defined(__sparc__))
|
|
#include <sys/statfs.h>
|
|
#endif
|
|
|
|
@@ -196,7 +196,7 @@
|
|
#ifdef __BeOS
|
|
return -1;
|
|
#endif
|
|
-#if !defined(linux) && (defined (__sgi) || defined (__sun__) || defined (__sun) || defined(__sparc) || defined(__sparc__))
|
|
+#if !defined(__FreeBSD__) && !defined(linux) && (defined (__sgi) || defined (__sun__) || defined (__sun) || defined(__sparc) || defined(__sparc__))
|
|
|
|
if (statfs(name, &disk, sizeof(struct statfs), 0)){
|
|
/* printf("diskfree: Couldn't get information about %s.\n",dir); */
|