diff options
author | wkj <devnull@localhost> | 2004-12-29 01:25:18 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-12-29 01:25:18 +0000 |
commit | c2070b2fc9d32d055104d55652d409a684f96881 (patch) | |
tree | 7e2eec4da76b3b674c04f02dfcfe10a2105ee8b0 /src/lib9 | |
parent | 374886540d2247de8e5f6a8716a8476d704e24d9 (diff) | |
download | plan9port-c2070b2fc9d32d055104d55652d409a684f96881.tar.gz plan9port-c2070b2fc9d32d055104d55652d409a684f96881.tar.bz2 plan9port-c2070b2fc9d32d055104d55652d409a684f96881.zip |
Include netinet/in.h to get ntohs prototype.
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/_p9dialparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c index 33088925..abd8241b 100644 --- a/src/lib9/_p9dialparse.c +++ b/src/lib9/_p9dialparse.c @@ -5,6 +5,7 @@ #include <sys/types.h> #include <netdb.h> #include <sys/un.h> +#include <netinet/in.h> static char *nets[] = { "tcp", "udp", nil }; #define CLASS(p) ((*(uchar*)(p))>>6) |