diff options
Diffstat (limited to 'openbsd-compat/rresvport.c')
-rw-r--r-- | openbsd-compat/rresvport.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index 71cf6e6eb..5b0275ce0 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c | |||
@@ -35,6 +35,16 @@ | |||
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 | #include <arpa/inet.h> | ||
43 | |||
44 | #include <errno.h> | ||
45 | #include <stdlib.h> | ||
46 | #include <string.h> | ||
47 | |||
38 | #if 0 | 48 | #if 0 |
39 | int | 49 | int |
40 | rresvport(int *alport) | 50 | rresvport(int *alport) |