From 42976cee2d31bbaade6d2169a9f234cd82af0715 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 17 Oct 2011 12:24:23 -0400 Subject: [PATCH] add some missing GNU FNM_* extensions to the header note that none of these are implemented, and programs depending on them may break... patch by sh4rm4 --- include/fnmatch.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1