mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +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 <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>
|
||||
|
|
Loading…
Reference in a new issue