summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsd-compat.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/openbsd-compat.h b/openbsd-compat.h
new file mode 100644
index 00000000..eadcf794
--- /dev/null
+++ b/openbsd-compat.h
@@ -0,0 +1,23 @@
+#ifndef _OPENBSD_H
+#define _OPENBSD_H
+
+#include "config.h"
+
+/* BSD function replacements */
+#include "bsd-bindresvport.h"
+#include "bsd-rresvport.h"
+#include "bsd-misc.h"
+#include "bsd-strlcpy.h"
+#include "bsd-strlcat.h"
+#include "bsd-mktemp.h"
+#include "bsd-snprintf.h"
+#include "bsd-daemon.h"
+#include "bsd-login.h"
+#include "bsd-base64.h"
+
+/* rfc2553 socket API replacements */
+#include "fake-getaddrinfo.h"
+#include "fake-getnameinfo.h"
+#include "fake-socket.h"
+
+#endif /* _OPENBSD_H */