diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h new file mode 100644 index 000000000..4758a9c59 --- /dev/null +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -0,0 +1,37 @@ | |||
1 | #ifndef _OPENBSD_H | ||
2 | #define _OPENBSD_H | ||
3 | |||
4 | #include "config.h" | ||
5 | |||
6 | /* OpenBSD function replacements */ | ||
7 | #include "bindresvport.h" | ||
8 | #include "getcwd.h" | ||
9 | #include "realpath.h" | ||
10 | #include "rresvport.h" | ||
11 | #include "strlcpy.h" | ||
12 | #include "strlcat.h" | ||
13 | #include "strmode.h" | ||
14 | #include "mktemp.h" | ||
15 | #include "daemon.h" | ||
16 | #include "base64.h" | ||
17 | #include "sigaction.h" | ||
18 | #include "inet_aton.h" | ||
19 | #include "inet_ntoa.h" | ||
20 | #include "strsep.h" | ||
21 | #include "strtok.h" | ||
22 | #include "vis.h" | ||
23 | #include "setproctitle.h" | ||
24 | #include "getgrouplist.h" | ||
25 | |||
26 | /* Home grown routines */ | ||
27 | #include "bsd-arc4random.h" | ||
28 | #include "bsd-misc.h" | ||
29 | #include "bsd-snprintf.h" | ||
30 | #include "bsd-waitpid.h" | ||
31 | |||
32 | /* rfc2553 socket API replacements */ | ||
33 | #include "fake-getaddrinfo.h" | ||
34 | #include "fake-getnameinfo.h" | ||
35 | #include "fake-socket.h" | ||
36 | |||
37 | #endif /* _OPENBSD_H */ | ||