Fix build on FreeBSD

This commit is contained in:
Baptiste Daroussin 2015-03-25 08:03:23 +01:00
parent bf223d9b61
commit e9fc4c1c06

View File

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <mntent.h>
#include <stdint.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
@ -11,6 +10,8 @@
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || (__OpenBSD__) || defined(__DragonFly__)
#include <sys/param.h>
#include <sys/mount.h>
#else
#include <mntent.h>
#endif
#include <yajl/yajl_gen.h>
#include <yajl/yajl_version.h>