Fix to build on NetBSD missing statfs from BSD44 feature

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 630abb9f24)
pull/30/head
OBATA Akio 5 years ago committed by Slávek Banko
parent f152b7eb98
commit 55191cbbbb
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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