Fix build on OpenBSD and NetBSD

This commit is contained in:
Frederic Cambus 2018-11-06 14:30:41 +01:00
parent 0f8a6805a0
commit 67dc001e7c

View File

@ -30,7 +30,7 @@
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
#elif defined(__macosx__) || defined(__FreeBSD__)
#elif defined(__macosx__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#include <sys/param.h>
#include <sys/mount.h>
#elif defined (__linux__) || defined(__SYLLABLE__)