summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fnmatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index b7aee504..0731e236 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -10,7 +10,9 @@ extern "C" {
#define FNM_PERIOD 0x4
#ifdef _GNU_SOURCE
-#define FNM_CASEFOLD 0x10
+#define FNM_LEADING_DIR 0x8
+#define FNM_CASEFOLD 0x10
+#define FNM_FILE_NAME FNM_PATHNAME
#endif
#define FNM_NOMATCH 1