diff options
Diffstat (limited to 'games/eboard/files')
-rw-r--r-- | games/eboard/files/patch-network.cc | 6 | ||||
-rw-r--r-- | games/eboard/files/patch-network.h | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/games/eboard/files/patch-network.cc b/games/eboard/files/patch-network.cc index dbb37f87328f..85f8cf6f683d 100644 --- a/games/eboard/files/patch-network.cc +++ b/games/eboard/files/patch-network.cc @@ -1,10 +1,10 @@ ---- network.cc.orig Mon Mar 25 10:19:21 2002 -+++ network.cc Mon Mar 25 10:19:52 2002 +--- network.cc.orig Wed Aug 14 00:20:32 2002 ++++ network.cc Wed Aug 14 00:23:24 2002 @@ -26,6 +26,7 @@ #include <iostream.h> +#include <arpa/inet.h> + #include <time.h> #include <sys/time.h> #include <sys/types.h> - #include <sys/wait.h> diff --git a/games/eboard/files/patch-network.h b/games/eboard/files/patch-network.h new file mode 100644 index 000000000000..344ff10cf39f --- /dev/null +++ b/games/eboard/files/patch-network.h @@ -0,0 +1,13 @@ +--- network.h.orig Sat Jul 6 17:05:11 2002 ++++ network.h Wed Aug 14 00:56:14 2002 +@@ -47,6 +47,10 @@ + #include "stl.h" + #include "eboard.h" + ++#ifndef SOL_TCP ++#define SOL_TCP IPPROTO_TCP ++#endif ++ + class PidIssuer { + public: + virtual void farewellPid(int dpid)=0; |