diff options
-rw-r--r-- | games/numptyphysics/files/patch-happyhttp.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games/numptyphysics/files/patch-happyhttp.cpp b/games/numptyphysics/files/patch-happyhttp.cpp new file mode 100644 index 000000000000..b4db0d0edfd4 --- /dev/null +++ b/games/numptyphysics/files/patch-happyhttp.cpp @@ -0,0 +1,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> + + + |