diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat/unistd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 544cb27..0ce66dd 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h | |||
| @@ -75,8 +75,13 @@ int getentropy(void *buf, size_t buflen); | |||
| 75 | int getpagesize(void); | 75 | int getpagesize(void); |
| 76 | #endif | 76 | #endif |
| 77 | 77 | ||
| 78 | #ifndef HAVE_PLEDGE | ||
| 78 | #define pledge(request, paths) 0 | 79 | #define pledge(request, paths) 0 |
| 80 | #endif | ||
| 81 | |||
| 82 | #ifndef HAVE_UNVEIL | ||
| 79 | #define unveil(path, permissions) 0 | 83 | #define unveil(path, permissions) 0 |
| 84 | #endif | ||
| 80 | 85 | ||
| 81 | #ifndef HAVE_PIPE2 | 86 | #ifndef HAVE_PIPE2 |
| 82 | int pipe2(int fildes[2], int flags); | 87 | int pipe2(int fildes[2], int flags); |
