remove __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS checks in stdint.h
[musl] / include / fnmatch.h
index b7aee50..72345b8 100644 (file)
@@ -5,12 +5,16 @@
 extern "C" {
 #endif
 
+#include <features.h>
+
 #define        FNM_PATHNAME 0x1
 #define        FNM_NOESCAPE 0x2
 #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