Fix to build on NetBSD missing statfs from BSD44 feature

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/9/head
OBATA Akio 5 years ago
parent 78eb05cf32
commit 630abb9f24

@ -48,11 +48,11 @@
#endif
// for statfs:
#ifdef BSD4_4
#if defined(BSD4_4) && !defined(__NetBSD__)
#include <sys/mount.h>
#elif defined(__linux__)
#include <sys/vfs.h>
#elif defined(__sun)
#elif defined(__sun) || defined(__NetBSD__)
#include <sys/statvfs.h>
#define STATFS statvfs
#elif defined(_AIX)

Loading…
Cancel
Save