fix darwin compile
This commit is contained in:
parent
58b2883205
commit
aa4269f1a1
|
@ -81,7 +81,6 @@
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#ifndef DARWIN
|
|
||||||
#include <sys/socketvar.h>
|
#include <sys/socketvar.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netinet/in_systm.h>
|
#include <netinet/in_systm.h>
|
||||||
|
@ -91,7 +90,6 @@
|
||||||
#include <netinet/tcp_timer.h>
|
#include <netinet/tcp_timer.h>
|
||||||
#include <netinet/tcp_var.h>
|
#include <netinet/tcp_var.h>
|
||||||
#include <netinet/tcp_fsm.h>
|
#include <netinet/tcp_fsm.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#define NMIB(mib) (sizeof(mib)/sizeof(mib[0]))
|
#define NMIB(mib) (sizeof(mib)/sizeof(mib[0]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue