plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit c2070b2fc9d32d055104d55652d409a684f96881
parent 374886540d2247de8e5f6a8716a8476d704e24d9
Author: wkj <devnull@localhost>
Date:   Wed, 29 Dec 2004 01:25:18 +0000

Include netinet/in.h to get ntohs prototype.

Diffstat:
Msrc/lib9/_p9dialparse.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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)