summaryrefslogtreecommitdiff
path: root/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'glob.c')
-rw-r--r--glob.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/glob.c b/glob.c
index 7599c1ca72..6c355ad260 100644
--- a/glob.c
+++ b/glob.c
@@ -44,7 +44,11 @@
# include "ndir.h"
# endif /* !Xenix */
# else /* !USG */
+# if defined(NT)
+# include "missing/dir.h"
+# else
# include <sys/dir.h>
+# endif /* !NT */
# endif /* !USG */
#endif /* !HAVE_DIRENT_H */
@@ -68,7 +72,9 @@
# include <strings.h>
#endif /* !HAVE_STRING_H */
+#ifndef bcopy
# define bcopy(s, d, n) (memcpy ((d), (s), (n)))
+#endif
#ifdef _AIX
#pragma alloca