diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bindresvport.c | 4 | ||||
-rw-r--r-- | openbsd-compat/rresvport.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index ef0eff3b6..e8fb83f23 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -33,8 +33,10 @@ | |||
33 | #include "includes.h" | 33 | #include "includes.h" |
34 | 34 | ||
35 | #ifndef HAVE_BINDRESVPORT_SA | 35 | #ifndef HAVE_BINDRESVPORT_SA |
36 | #include <sys/types.h> | ||
37 | #include <sys/socket.h> | ||
36 | 38 | ||
37 | #include "includes.h" | 39 | #include <netinet/in.h> |
38 | 40 | ||
39 | #include <errno.h> | 41 | #include <errno.h> |
40 | #include <string.h> | 42 | #include <string.h> |
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index 15790e852..17e66ca59 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c | |||
@@ -35,6 +35,11 @@ | |||
35 | 35 | ||
36 | #ifndef HAVE_RRESVPORT_AF | 36 | #ifndef HAVE_RRESVPORT_AF |
37 | 37 | ||
38 | #include <sys/types.h> | ||
39 | #include <sys/socket.h> | ||
40 | |||
41 | #include <netinet/in.h> | ||
42 | |||
38 | #include <errno.h> | 43 | #include <errno.h> |
39 | #include <stdlib.h> | 44 | #include <stdlib.h> |
40 | #include <string.h> | 45 | #include <string.h> |