aboutsummaryrefslogtreecommitdiffstats
path: root/games/xpat2/files/patch-xpat.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/xpat2/files/patch-xpat.h')
-rw-r--r--games/xpat2/files/patch-xpat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xpat2/files/patch-xpat.h b/games/xpat2/files/patch-xpat.h
new file mode 100644
index 000000000000..6639f64c0294
--- /dev/null
+++ b/games/xpat2/files/patch-xpat.h
@@ -0,0 +1,11 @@
+--- xpat.h.orig
++++ xpat.h
+@@ -51,6 +51,8 @@
+ #define EXIT_FAILURE (-1)
+ #endif
+
++#define MAXXPMDIRLEN 100 /* pathname length including trailing zero */
++
+ #ifndef max
+ #define max(a, b) ((a) > (b) ? (a) : (b))
+ #define min(a, b) ((a) < (b) ? (a) : (b))