diff options
| author | 2025-09-19 21:17:02 -0500 | |
|---|---|---|
| committer | 2025-09-19 21:17:02 -0500 | |
| commit | 4da568254a56128474ae357922ffe5d3d6f18c7d (patch) | |
| tree | 29700e015545ac61b38357e401cc8faaa63adc2c /src | |
| parent | Add os/posix-chroot (diff) | |
Manually declare chroot on macos.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/os.c b/src/core/os.c index 6a06efa7..885b7b33 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -67,6 +67,7 @@ #include <crt_externs.h> #define environ (*_NSGetEnviron()) #include <AvailabilityMacros.h> +int chroot(const char *dirname); #else extern char **environ; #endif |
