Include netinet/in.h to get ntohs prototype.

This commit is contained in:
wkj 2004-12-29 01:25:18 +00:00
parent 374886540d
commit c2070b2fc9

View file

@ -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)