db0bc22afa41923602bba16eafdc8fdae27470ae
[openwrt/openwrt.git] / toolchain / musl / patches-1.0.0 / 100-add_glob_onlydir.patch
1 --- a/include/glob.h
2 +++ b/include/glob.h
3 @@ -31,6 +31,8 @@ void globfree(glob_t *);
4 #define GLOB_NOESCAPE 0x40
5 #define GLOB_PERIOD 0x80
6
7 +#define GLOB_ONLYDIR 0x100
8 +
9 #define GLOB_NOSPACE 1
10 #define GLOB_ABORTED 2
11 #define GLOB_NOMATCH 3