summaryrefslogtreecommitdiff
path: root/games/xnethack/files/patch-src-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xnethack/files/patch-src-files.c')
-rw-r--r--games/xnethack/files/patch-src-files.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/xnethack/files/patch-src-files.c b/games/xnethack/files/patch-src-files.c
new file mode 100644
index 000000000000..1b6b782cbaa3
--- /dev/null
+++ b/games/xnethack/files/patch-src-files.c
@@ -0,0 +1,10 @@
+--- src/files.c.orig 2021-03-22 22:28:14 UTC
++++ src/files.c
+@@ -51,6 +51,7 @@ const
+
+ #if defined(UNIX) && defined(SELECTSAVED)
+ #include <sys/types.h>
++#include <limits.h>
+ #include <dirent.h>
+ #include <stdlib.h>
+ #endif