summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/fnmatch/fnmatch.c')
-rw-r--r--libc/misc/fnmatch/fnmatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 000b787e4..8592d4cf6 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -41,6 +41,7 @@
#include <errno.h>
#include <fnmatch.h>
#include <ctype.h>
+#include <unistd.h>
#if HAVE_STRING_H || defined _LIBC
# include <string.h>