summaryrefslogtreecommitdiffstats
path: root/games/xdeblock/files/patch-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdeblock/files/patch-dialog.c')
-rw-r--r--games/xdeblock/files/patch-dialog.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/games/xdeblock/files/patch-dialog.c b/games/xdeblock/files/patch-dialog.c
new file mode 100644
index 0000000..d89daf3
--- /dev/null
+++ b/games/xdeblock/files/patch-dialog.c
@@ -0,0 +1,36 @@
+*** dialog.c.orig Sat Nov 16 14:37:15 1996
+--- dialog.c Fri Jan 15 00:00:00 2000
+***************
+*** 8,14 ****
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+! #include <sys/dir.h>
+
+ #include "gameheader.h"
+
+--- 8,14 ----
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+! #include <dirent.h>
+
+ #include "gameheader.h"
+
+***************
+*** 430,436 ****
+ char *fflag;
+ {
+ DIR *dp;
+! struct direct *dir;
+ struct stat sbuf;
+ char newname[256];
+ register i = 0;
+--- 430,436 ----
+ char *fflag;
+ {
+ DIR *dp;
+! struct dirent *dir;
+ struct stat sbuf;
+ char newname[256];
+ register i = 0;
OpenPOWER on IntegriCloud