summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-10-05 11:48:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-10-05 11:48:17 +0200
commit94f9b2213ab1fb3db8a91d477f3a70847bbedb15 (patch)
treebd70647053b461b8d52d3f42ba8bdf269c3bd0e3 /util.h
parent2e0e1fa5d66f01effe07d30e53e5cf558494796f (diff)
Makefile: just use OpenBSD #ifdef for pledge(2)
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.h b/util.h
index 4542e4e..bb34a08 100644
--- a/util.h
+++ b/util.h
@@ -1,6 +1,7 @@
#include <stdint.h>
#include <time.h>
-#ifdef USE_PLEDGE
+
+#ifdef __OpenBSD__
#include <unistd.h>
#else
#define pledge(p1,p2) 0