aboutsummaryrefslogtreecommitdiffstats
path: root/games/blockout/files/patch-Http.cpp
blob: 6934c87eec662be321d7e5ccad4889af2e14e22d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- BlockOut/Http.cpp.orig  2009-08-06 15:04:34.000000000 +0700
+++ BlockOut/Http.cpp   2009-08-06 15:14:02.000000000 +0700
@@ -24,11 +24,16 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
+#include <netinet/in.h>
 
 
 #define WAIT_FOR_READ  1
 #define WAIT_FOR_WRITE 2
 
+#ifndef ENOSR
+#define ENOSR 9922
+#endif
+
 // -------------------------------------------------------
 
 Http::Http() {