summaryrefslogtreecommitdiff
path: root/user/bzflag/defineAddrLen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/bzflag/defineAddrLen.patch')
-rw-r--r--user/bzflag/defineAddrLen.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/bzflag/defineAddrLen.patch b/user/bzflag/defineAddrLen.patch
new file mode 100644
index 000000000..b1189dcac
--- /dev/null
+++ b/user/bzflag/defineAddrLen.patch
@@ -0,0 +1,11 @@
+--- a/include/network.h 2018-04-23 23:17:50.969874036 -0700
++++ b/include/network.h 2018-04-23 23:18:37.750554121 -0700
+@@ -57,7 +57,7 @@
+ # include <bstring.h>
+ #endif
+
+-#if defined(BSD) || defined(__sun__) || defined(__GLIBC__)
++#if defined(BSD) || defined(__sun__) || defined(__linux__)
+ # define AddrLen socklen_t
+ #elif defined (__APPLE__)
+ # include <AvailabilityMacros.h>