mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
Include netinet/in.h to get ntohs prototype.
This commit is contained in:
parent
374886540d
commit
c2070b2fc9
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue