summaryrefslogtreecommitdiff
path: root/lib/util/regress/fnmatch/fnm_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/regress/fnmatch/fnm_test.c')
-rw-r--r--lib/util/regress/fnmatch/fnm_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/regress/fnmatch/fnm_test.c b/lib/util/regress/fnmatch/fnm_test.c
index a9f6b1afb..126683b8d 100644
--- a/lib/util/regress/fnmatch/fnm_test.c
+++ b/lib/util/regress/fnmatch/fnm_test.c
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#ifdef HAVE_FNMATCH
# include <fnmatch.h>
#else