Skip to content

Commit e7e8a75

Browse files
committed
Merge pull request #3309
9ac5a01 Move types.h include before ifaddres.h for u_int declaration (Robert Backhaus)
2 parents 5c56ee1 + 9ac5a01 commit e7e8a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <windows.h>
2929
#include <ws2tcpip.h>
3030
#else
31+
#include <sys/types.h>
3132
#include <arpa/inet.h>
3233
#include <ifaddrs.h>
3334
#include <limits.h>
@@ -37,7 +38,6 @@
3738
#include <sys/fcntl.h>
3839
#include <sys/mman.h>
3940
#include <sys/socket.h>
40-
#include <sys/types.h>
4141
#include <unistd.h>
4242
#endif
4343

0 commit comments

Comments
 (0)