summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 794ac67d..70801d0d 100644
--- a/compat.h
+++ b/compat.h
@@ -171,8 +171,12 @@ void warnx(const char *, ...);
#endif
#ifndef FNM_CASEFOLD
+#ifdef FNM_IGNORECASE
+#define FNM_CASEFOLD FNM_IGNORECASE
+#else
#define FNM_CASEFOLD 0
#endif
+#endif
#ifndef INFTIM
#define INFTIM -1