diff options
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 58b5607ded5..2d67f4766f1 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -60,7 +60,7 @@ #include <sys/statfs.h> #endif -#ifdef __FreeBSD__ +#ifdef defined (__FreeBSD__) || defined (__OpenBSD__) #include <sys/param.h> #include <sys/mount.h> #endif @@ -194,7 +194,7 @@ double BLI_diskfree(char *dir) if (slash) slash[1] = 0; } else strcpy(name,"/"); -#if defined __FreeBSD__ || defined linux +#if defined (__FreeBSD__) || defined (linux) || defined (__OpenBSD__) if (statfs(name, &disk)) return(-1); #endif #ifdef __BeOS |