Linux and Mac want different headers for file system stats

This commit is contained in:
Eric Fischer
2016-04-07 11:23:33 -07:00
parent 1eb0537302
commit 73fcdba02b
3 changed files with 9 additions and 3 deletions
+4 -2
View File
@@ -20,12 +20,14 @@
#include <sys/resource.h>
#include <pthread.h>
#include <getopt.h>
#include <sys/param.h>
#include <sys/mount.h>
#ifdef __APPLE__
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/param.h>
#include <sys/mount.h>
#else
#include <sys/statfs.h>
#endif
#include "jsonpull.h"