diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-29 18:45:49 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-29 18:45:49 +0200 |
commit | 3d5e3ef83e0556d565083294df90536014f25be7 (patch) | |
tree | 6bcc297a1acc372122e4589c126ea890d5fb32e4 /include | |
parent | dde035b100055d046b3769674b061fefb793669c (diff) | |
download | wolfbones-3d5e3ef83e0556d565083294df90536014f25be7.tar.gz wolfbones-3d5e3ef83e0556d565083294df90536014f25be7.tar.bz2 |
fixed small bug in getaddrinfo on NetBSD
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/port/netdb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wolf/port/netdb.h b/include/wolf/port/netdb.h index 5a986de..99abf73 100644 --- a/include/wolf/port/netdb.h +++ b/include/wolf/port/netdb.h @@ -48,10 +48,15 @@ #endif #endif +#ifdef NETBSD +#include <sys/socket.h> /* for AF_UNDEF */ +#include <netinet/in.h> /* for IPPROTO_TCP */ +#endif + #ifdef OPENBSD #include <sys/types.h> #include <sys/socket.h> -#include <netinet/in.h> +#include <netinet/in.h> /* for IPPROTO_TCP */ #endif /* for all modern Unix systems */ |