aboutsummaryrefslogtreecommitdiffstats
path: root/games/xdeblock/files/patch-dialog.c
blob: 258d8ea648421969bfb0dde51db282757b8c55e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- dialog.c.orig   1996-11-16 05:37:15 UTC
+++ dialog.c
@@ -8,7 +8,7 @@
 
 #include        <sys/types.h>
 #include        <sys/stat.h>
-#include        <sys/dir.h>
+#include        <dirent.h>
 
 #include   "gameheader.h"
 
@@ -430,7 +430,7 @@ void checkdir(dirname,fname,fflag)
      char    *fflag;
 {
   DIR           *dp;
-  struct direct *dir;
+  struct dirent *dir;
   struct stat   sbuf;
   char          newname[256];
   register      i = 0;