Browse Source

Merge pull request #3309

9ac5a01 Move types.h include before ifaddres.h for u_int declaration (Robert Backhaus)
pull/1/head
Wladimir J. van der Laan 9 years ago
parent
commit
e7e8a7537a
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/compat.h

2
src/compat.h

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

Loading…
Cancel
Save