diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-09-15 11:40:20 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-09-15 11:40:20 -0700 |
commit | fa4ec55c96d3c4233394a90958ea87a0ba90fc91 (patch) | |
tree | 3ce68e5d2ea562cf0fbd9da2ab8d64e7888adcd4 /src/expand.cpp | |
parent | a02d4dc27cea0d89fd4c7aea3c65e9d7c06cf52c (diff) |
Fix process expansion on OS X
Puts back sys/sysctl.h header, so we know to use BSD style process
expansion
Diffstat (limited to 'src/expand.cpp')
-rw-r--r-- | src/expand.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expand.cpp b/src/expand.cpp index 620429c4..5b46bdfa 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -20,6 +20,9 @@ parameter expansion. #include <sys/stat.h> #include <unistd.h> #include <algorithm> +#ifdef HAVE_SYS_SYSCTL_H +#include <sys/sysctl.h> // IWYU pragma: keep - needed for KERN_PROCARGS2 +#endif #include <assert.h> #include <vector> |