summaryrefslogtreecommitdiff
path: root/games/numptyphysics/files/patch-happyhttp.cpp
blob: b4db0d0edfd4f363173d6a34cde816df72f6d494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- happyhttp.cpp.orig	2008-08-28 14:08:27.000000000 +0400
+++ happyhttp.cpp	2013-09-17 21:10:39.685520377 +0400
@@ -30,6 +30,7 @@
 #ifndef WIN32
 //	#include <sys/types.h>
 	#include <sys/socket.h>
+	#include <sys/select.h>
 	#include <netinet/in.h>
 	#include <arpa/inet.h>
 	#include <netdb.h>	// for gethostbyname()
@@ -45,11 +46,14 @@
 #include <cstring>
 #include <cstdarg>
 #include <assert.h>
+#include <unistd.h>
 
 #include <string>
 #include <vector>
 #include <string>
 #include <algorithm>
+#include <cstdlib>
+#include <ctime>