termux-packages/packages/curseofwar/include_arpa_inet_h.patch

12 lines
312 B
Diff

diff -u -r ../curseofwar-1.2.0/network.h ./network.h
--- ../curseofwar-1.2.0/network.h 2013-08-16 07:57:44.000000000 +0200
+++ ./network.h 2014-01-29 01:09:19.000000000 +0100
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <arpa/inet.h>
#define MSG_BUF_SIZE 50000