We don't need to include arpa/inet.h here. In fact, only FreeBSD needs
netinet/in.h.
This commit is contained in:
parent
003f849311
commit
413205628d
@ -28,10 +28,9 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
#ifdef __FreeBSD__
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user