aboutsummaryrefslogtreecommitdiff
path: root/include/compat/unistd.h
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-10-12 15:34:03 -0500
committerBrent Cook <bcook@openbsd.org>2015-10-12 15:34:03 -0500
commitff52e6f4e36b6665fc867034e64051471876269f (patch)
tree0ed6dd6160d49c352cfea77a42caf9bfba220e71 /include/compat/unistd.h
parent41cebd325f5fe5138ae407af7da2360ada16b9e2 (diff)
downloadportable-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.h4
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);
29int getentropy(void *buf, size_t buflen); 29int 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