diff options
Diffstat (limited to 'emulators/dlx/files/patch-glob.c')
| -rw-r--r-- | emulators/dlx/files/patch-glob.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/emulators/dlx/files/patch-glob.c b/emulators/dlx/files/patch-glob.c new file mode 100644 index 000000000000..3ecdd1526d58 --- /dev/null +++ b/emulators/dlx/files/patch-glob.c @@ -0,0 +1,22 @@ +--- dlxsim/tcl/glob.c.orig Sun Sep 22 09:40:54 2002 ++++ dlxsim/tcl/glob.c Sun Sep 22 09:43:49 2002 +@@ -122,9 +122,8 @@ + #define direct dirent + #define DP_NAMELEN(x) strlen ((x)->d_name) + #else +-#include <sys/dir.h> ++#include <dirent.h> + #include <strings.h> +-extern bcopy (); + #endif /* USG */ + #endif /* USG_OLD */ + +@@ -341,7 +340,7 @@ + }; + + DIR *d; +- register struct direct *dp; ++ register struct dirent *dp; + struct globval *lastlink; + register struct globval *nextlink; + register char *nextname; |
