summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 20:44:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 20:44:48 +0000
commit87726c7887c8a02e8e3061cfcc4bc8b595913328 (patch)
tree3118196a9693b802766bcc9d946c3c6ee71eb9dd /libc/misc/fnmatch
parenta3bfc1991a50815df146b3ea0676cc56dd8fa4c2 (diff)
add missing includes of unistd.h for smallint usage
remove a few duplicate includes of unistd.h
Diffstat (limited to 'libc/misc/fnmatch')
-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>