summaryrefslogtreecommitdiff
path: root/games/eif/files/patch-src_games.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/eif/files/patch-src_games.c')
-rw-r--r--games/eif/files/patch-src_games.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/eif/files/patch-src_games.c b/games/eif/files/patch-src_games.c
new file mode 100644
index 000000000000..7f3c4663fbf9
--- /dev/null
+++ b/games/eif/files/patch-src_games.c
@@ -0,0 +1,18 @@
+--- src/games.c.orig 2003-09-25 15:54:27 UTC
++++ src/games.c
+@@ -25,14 +25,13 @@
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif /* HAVE_UNISTD_H */
++#include <errno.h>
+
+ #include "cntl.h"
+ #include "data.h"
+ #include "games.h"
+ #include "print.h"
+
+-extern int errno;
+-
+ #define MAX_GAMES 50
+
+ typedef struct {