mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
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:
parent
a02d4dc27c
commit
fa4ec55c96
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue