Browse Source

Refine TCP related headers. #2387

pull/2390/head
Max Lv 5 years ago
parent
commit
8d8b1cdcd5
1 changed files with 2 additions and 4 deletions
  1. 6
      src/netutils.h

6
src/netutils.h

@ -29,13 +29,11 @@
#include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TCP_H
#if defined(HAVE_LINUX_TCP_H)
#include <linux/tcp.h>
#elif defined(HAVE_NETINET_TCP_H)
#include <netinet/tcp.h>
#endif
#ifdef HAVE_NETDB_H
#elif defined(HAVE_NETDB_H)
#include <netdb.h>
#endif

Loading…
Cancel
Save