diff options
author | Brent Cook <bcook@openbsd.org> | 2015-10-12 15:34:03 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-12 15:34:03 -0500 |
commit | ff52e6f4e36b6665fc867034e64051471876269f (patch) | |
tree | 0ed6dd6160d49c352cfea77a42caf9bfba220e71 /include/compat/unistd.h | |
parent | 41cebd325f5fe5138ae407af7da2360ada16b9e2 (diff) | |
download | portable-ff52e6f4e36b6665fc867034e64051471876269f.tar.gz portable-ff52e6f4e36b6665fc867034e64051471876269f.tar.bz2 portable-ff52e6f4e36b6665fc867034e64051471876269f.zip |
check for pledge(2)
Diffstat (limited to 'include/compat/unistd.h')
-rw-r--r-- | include/compat/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 2cd35dd..136490b 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h | |||
@@ -29,8 +29,8 @@ unsigned int sleep(unsigned int seconds); | |||
29 | int getentropy(void *buf, size_t buflen); | 29 | int getentropy(void *buf, size_t buflen); |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #ifndef HAVE_TAME | 32 | #ifndef HAVE_PLEDGE |
33 | #define tame(request, paths) 0 | 33 | #define pledge(request, paths) 0 |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #endif | 36 | #endif |