summaryrefslogtreecommitdiff
path: root/misc/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/glob.c')
-rw-r--r--misc/glob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/glob.c b/misc/glob.c
index 28e6edda5..bf2dcb62a 100644
--- a/misc/glob.c
+++ b/misc/glob.c
@@ -28,6 +28,7 @@
# include <string.h>
# include <pwd.h>
# include <assert.h>
+# include <sys/stat.h> /* S_ISDIR */
#define __alloca alloca
#define __stat stat