summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/expand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expand.c b/src/expand.c
index 2a50830..1ab5757 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -45,7 +45,9 @@
 #include <inttypes.h>
 #include <limits.h>
 #include <string.h>
+#ifdef HAVE_FNMATCH
 #include <fnmatch.h>
+#endif
 #ifdef HAVE_GLOB
 #include <glob.h>
 #endif