summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:57 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:57 +0200
commit85a4a9699e8c541feec9e2efad671ed892a0ab3c (patch)
tree4d19d8a53aa0e83a8331903de80467c825ef3a19 /util.h
parent3151fc001cd5b980064afac8a1ce6a11526c4ab6 (diff)
simplify pledge stub: add to util.h
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index b731ce6..11b8985 100644
--- a/util.h
+++ b/util.h
@@ -2,6 +2,8 @@
#include <time.h>
#ifdef USE_PLEDGE
#include <unistd.h>
+#else
+#define pledge(p1,p2) 0
#endif
#undef strlcat