summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2019-12-16 21:34:36 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-12-16 21:34:36 +0000
commit3879509426d8d269acb7b2aec3eb04f5b5a141d3 (patch)
tree8eb5e54dcd0cd5531fae09d6d10c6b7a3e1d6b74 /compat.h
parent479d411ddacf61da4c19ed706cb880f6caa7a663 (diff)
Define FNM_CASEFOLD to 0 for AIX, from Eric N Vander Weele.
Diffstat (limited to 'compat.h')
-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