diff options
-rw-r--r-- | openbsd-compat.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/openbsd-compat.h b/openbsd-compat.h new file mode 100644 index 000000000..eadcf7940 --- /dev/null +++ b/openbsd-compat.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef _OPENBSD_H | ||
2 | #define _OPENBSD_H | ||
3 | |||
4 | #include "config.h" | ||
5 | |||
6 | /* BSD function replacements */ | ||
7 | #include "bsd-bindresvport.h" | ||
8 | #include "bsd-rresvport.h" | ||
9 | #include "bsd-misc.h" | ||
10 | #include "bsd-strlcpy.h" | ||
11 | #include "bsd-strlcat.h" | ||
12 | #include "bsd-mktemp.h" | ||
13 | #include "bsd-snprintf.h" | ||
14 | #include "bsd-daemon.h" | ||
15 | #include "bsd-login.h" | ||
16 | #include "bsd-base64.h" | ||
17 | |||
18 | /* rfc2553 socket API replacements */ | ||
19 | #include "fake-getaddrinfo.h" | ||
20 | #include "fake-getnameinfo.h" | ||
21 | #include "fake-socket.h" | ||
22 | |||
23 | #endif /* _OPENBSD_H */ | ||