Add missing #includes for non-Linux systems.
This commit is contained in:
parent
7927b41b6c
commit
9512ba5322
|
@ -21,6 +21,8 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
#include <resolv.h>
|
#include <resolv.h>
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "iphlpapi.h"
|
#include "iphlpapi.h"
|
||||||
|
|
|
@ -23,15 +23,16 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
#if HAVE_NET_IF_H
|
#if HAVE_NET_IF_H
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_NETINET_TCP_H
|
#if HAVE_NETINET_TCP_H
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_NETINET_TCP_FSM_H
|
#if HAVE_NETINET_TCP_FSM_H
|
||||||
#include <netinet/tcp_fsm.h>
|
#include <netinet/tcp_fsm.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue