mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 21:31:14 -03: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user