Browse Source

Move types.h include before ifaddres.h for u_int declaration

pull/1/head
Robert Backhaus 9 years ago
parent
commit
9ac5a01c73
  1. 2
      src/compat.h

2
src/compat.h

@ -26,6 +26,7 @@ @@ -26,6 +26,7 @@
#include <windows.h>
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <limits.h>
@ -35,7 +36,6 @@ @@ -35,7 +36,6 @@
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#endif

Loading…
Cancel
Save