]> git.armaanb.net Git - opendoas.git/blobdiff - libopenbsd/openbsd.h
libopenbsd: remove MacOSX compat functions, its not supported anyways
[opendoas.git] / libopenbsd / openbsd.h
index 05868444a8c9d1847e7a353f97657b854293f941..793d9bf39363668845867b3cd35e827993e8eea4 100644 (file)
@@ -4,8 +4,6 @@
 #include <stdarg.h>
 #include <sys/types.h>
 
-#include "readpassphrase.h"
-
 /* API definitions lifted from OpenBSD src/include */
 
 /* pwd.h */
@@ -41,6 +39,9 @@ int setresuid(uid_t, uid_t, uid_t);
 #ifndef HAVE_PLEDGE
 int pledge(const char *promises, const char *paths[]);
 #endif /* !HAVE_PLEDGE */
+#ifndef HAVE_CLOSEFROM
+void closefrom(int);
+#endif /* !HAVE_CLOSEFROM */
 
 /* err.h */
 #ifndef HAVE_VERRC