aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index df1ac03c..794ac67d 100644
--- a/compat.h
+++ b/compat.h
@@ -21,6 +21,7 @@
#include <sys/ioctl.h>
#include <sys/uio.h>
+#include <fnmatch.h>
#include <limits.h>
#include <stdio.h>
#include <termios.h>
@@ -169,6 +170,10 @@ void warnx(const char *, ...);
#define O_DIRECTORY 0
#endif
+#ifndef FNM_CASEFOLD
+#define FNM_CASEFOLD 0
+#endif
+
#ifndef INFTIM
#define INFTIM -1
#endif