summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-asprintf.c3
-rw-r--r--openbsd-compat/port-aix.c1
-rw-r--r--openbsd-compat/rresvport.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-asprintf.c b/openbsd-compat/bsd-asprintf.c
index 5ca01f80f..1178296f8 100644
--- a/openbsd-compat/bsd-asprintf.c
+++ b/openbsd-compat/bsd-asprintf.c
@@ -21,6 +21,9 @@
21 21
22#ifndef HAVE_VASPRINTF 22#ifndef HAVE_VASPRINTF
23 23
24#include <errno.h>
25#include <stdarg.h>
26
24#ifndef VA_COPY 27#ifndef VA_COPY
25# ifdef HAVE_VA_COPY 28# ifdef HAVE_VA_COPY
26# define VA_COPY(dest, src) va_copy(dest, src) 29# define VA_COPY(dest, src) va_copy(dest, src)
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 81d8124e0..33be00c2b 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -33,6 +33,7 @@
33 33
34#ifdef _AIX 34#ifdef _AIX
35 35
36#include <errno.h>
36#include <uinfo.h> 37#include <uinfo.h>
37#include <sys/socket.h> 38#include <sys/socket.h>
38#include "port-aix.h" 39#include "port-aix.h"
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 71cf6e6eb..fc029f46f 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -35,6 +35,8 @@
35 35
36#ifndef HAVE_RRESVPORT_AF 36#ifndef HAVE_RRESVPORT_AF
37 37
38#include <errno.h>
39
38#if 0 40#if 0
39int 41int
40rresvport(int *alport) 42rresvport(int *alport)