diff options
| author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-28 05:51:31 +0000 |
|---|---|---|
| committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-28 05:51:31 +0000 |
| commit | 184d16937624fc081a22e3b49f1389a5fdf20f82 (patch) | |
| tree | e97f4272e4a32def727dba2155abd3e7dd98cdf4 /emulators/dlx/files/patch-glob.c | |
| parent | Fix patch after recent GNOMENG conversion. (diff) | |
fix build on -current
PR: 43258
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
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; |
