diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-arc4random.c | 2 | ||||
-rw-r--r-- | openbsd-compat/port-tun.c | 1 | ||||
-rw-r--r-- | openbsd-compat/xmmap.c | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c index c1aecfe99..d45fb182a 100644 --- a/openbsd-compat/bsd-arc4random.c +++ b/openbsd-compat/bsd-arc4random.c | |||
@@ -17,7 +17,9 @@ | |||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | |||
20 | #include <string.h> | 21 | #include <string.h> |
22 | #include <stdarg.h> | ||
21 | 23 | ||
22 | #include "log.h" | 24 | #include "log.h" |
23 | 25 | ||
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c index 3e73d8c0e..cadc331e1 100644 --- a/openbsd-compat/port-tun.c +++ b/openbsd-compat/port-tun.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <errno.h> | 24 | #include <errno.h> |
25 | #include <fcntl.h> | 25 | #include <fcntl.h> |
26 | #include <stdarg.h> | ||
26 | #include <string.h> | 27 | #include <string.h> |
27 | #include <unistd.h> | 28 | #include <unistd.h> |
28 | 29 | ||
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c index 6a1708e5d..95d5055b5 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | /* $Id: xmmap.c,v 1.10 2006/07/25 09:52:08 dtucker Exp $ */ | 26 | /* $Id: xmmap.c,v 1.11 2006/08/05 05:47:27 dtucker Exp $ */ |
27 | 27 | ||
28 | #include "includes.h" | 28 | #include "includes.h" |
29 | 29 | ||
@@ -32,11 +32,12 @@ | |||
32 | #include <sys/mman.h> | 32 | #include <sys/mman.h> |
33 | #endif | 33 | #endif |
34 | #include <sys/stat.h> | 34 | #include <sys/stat.h> |
35 | |||
35 | #ifdef HAVE_FCNTL_H | 36 | #ifdef HAVE_FCNTL_H |
36 | # include <fcntl.h> | 37 | # include <fcntl.h> |
37 | #endif | 38 | #endif |
38 | |||
39 | #include <errno.h> | 39 | #include <errno.h> |
40 | #include <stdarg.h> | ||
40 | #include <string.h> | 41 | #include <string.h> |
41 | #include <unistd.h> | 42 | #include <unistd.h> |
42 | 43 | ||