tInclude netinet/in.h to get ntohs prototype. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c2070b2fc9d32d055104d55652d409a684f96881
DIR parent 374886540d2247de8e5f6a8716a8476d704e24d9
HTML Author: wkj <devnull@localhost>
Date: Wed, 29 Dec 2004 01:25:18 +0000
Include netinet/in.h to get ntohs prototype.
Diffstat:
M src/lib9/_p9dialparse.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c
t@@ -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)