summaryrefslogtreecommitdiff
path: root/games/battletanks/files/patch-engine_net_monitor.cpp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-01-28 15:17:14 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-01-28 15:17:14 +0000
commit2cee589eb2fac09369a211661a116cae97bd4c29 (patch)
tree3bfe5ebea9445b6f8bfa05cd47e56f87849e59e3 /games/battletanks/files/patch-engine_net_monitor.cpp
parentPartially revert back r524489, the trird-party opentracing module (diff)
Convert to modern Python and revive `games/battletanks'.
Diffstat (limited to 'games/battletanks/files/patch-engine_net_monitor.cpp')
-rw-r--r--games/battletanks/files/patch-engine_net_monitor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/battletanks/files/patch-engine_net_monitor.cpp b/games/battletanks/files/patch-engine_net_monitor.cpp
new file mode 100644
index 000000000000..a7ebd82650f7
--- /dev/null
+++ b/games/battletanks/files/patch-engine_net_monitor.cpp
@@ -0,0 +1,10 @@
+--- ./engine/net/monitor.cpp.orig 2009-10-12 12:34:31.000000000 +0400
++++ ./engine/net/monitor.cpp 2010-04-25 13:10:45.059278180 +0400
+@@ -47,6 +47,7 @@
+ #else
+ # include <sys/socket.h>
+ # include <netinet/in.h>
++# include <netinet/in_systm.h>
+ # include <netinet/ip.h> /* superset of previous */
+ # include <arpa/inet.h>
+ # include <netdb.h>