diff options
Diffstat (limited to 'src/socket_wrapper.c')
| -rw-r--r-- | src/socket_wrapper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 3b0499d..f78c896 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -5248,6 +5248,16 @@ int eventfd(int count, int flags) } #endif +#ifdef HAVE_PLEDGE +int pledge(const char *promises, const char *paths[]) +{ + (void)promises; /* unused */ + (void)paths; /* unused */ + + return 0; +} +#endif /* HAVE_PLEDGE */ + /**************************** * DESTRUCTOR ***************************/ |
