aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index e1e11ec6..94c0c71e 100644
--- a/compat.h
+++ b/compat.h
@@ -58,6 +58,10 @@ typedef uint64_t u_int64_t;
#define _PATH_DEV "/dev/"
#endif
+#ifndef __OpenBSD__
+#define pledge(s, p) (0)
+#endif
+
#ifdef HAVE_QUEUE_H
#include <sys/queue.h>
#else