aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch')
-rw-r--r--toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch b/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch
new file mode 100644
index 0000000000..db0bc22afa
--- /dev/null
+++ b/toolchain/musl/patches-1.0.0/100-add_glob_onlydir.patch
@@ -0,0 +1,11 @@
+--- a/include/glob.h
++++ b/include/glob.h
+@@ -31,6 +31,8 @@ void globfree(glob_t *);
+ #define GLOB_NOESCAPE 0x40
+ #define GLOB_PERIOD 0x80
+
++#define GLOB_ONLYDIR 0x100
++
+ #define GLOB_NOSPACE 1
+ #define GLOB_ABORTED 2
+ #define GLOB_NOMATCH 3