Fix process expansion on OS X

Puts back sys/sysctl.h header, so we know to use BSD style process
expansion
This commit is contained in:
ridiculousfish 2015-09-15 11:40:20 -07:00
parent a02d4dc27c
commit fa4ec55c96

View file

@ -20,6 +20,9 @@ parameter expansion.
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <algorithm> #include <algorithm>
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h> // IWYU pragma: keep - needed for KERN_PROCARGS2
#endif
#include <assert.h> #include <assert.h>
#include <vector> #include <vector>