diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-01-23 12:27:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-01-23 12:27:58 +0000 |
commit | a3d5bfcecec49bf197157bae4bee520e613c2efc (patch) | |
tree | 9515be36c8afabaaf70cfffe6e77915720cde44b /compat.h | |
parent | 1ebe79dd628f009108c3d6dbdbfbfc69b7a6933d (diff) |
Define away pledge() on !OpenBSD.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |