summaryrefslogtreecommitdiff
blob: dfbe7211bd2ba2363d5936788bb1b13d1e97cdbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
http://bugs.gentoo.org/400929
http://trac.transmissionbt.com/ticket/4915

--- third-party/libutp/utp.h
+++ third-party/libutp/utp.h
@@ -12,7 +12,9 @@
 #pragma comment(lib,"ws2_32.lib")
 #else
 #include <stdlib.h>
+#include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 #endif