mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 08:41:27 +08: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
|
@ -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 New Issue
Block a user