summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/bsd-misc.h')
-rw-r--r--crypto/openssh/openbsd-compat/bsd-misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/openssh/openbsd-compat/bsd-misc.h b/crypto/openssh/openbsd-compat/bsd-misc.h
index ff347a2..0d81d17 100644
--- a/crypto/openssh/openbsd-compat/bsd-misc.h
+++ b/crypto/openssh/openbsd-compat/bsd-misc.h
@@ -122,4 +122,8 @@ pid_t getpgid(pid_t);
# define krb5_free_error_message(a,b) do { } while(0)
#endif
+#ifndef HAVE_PLEDGE
+int pledge(const char *promises, const char *paths[]);
+#endif
+
#endif /* _BSD_MISC_H */
OpenPOWER on IntegriCloud