diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /openbsd-compat/rresvport.c | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
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) |