summaryrefslogtreecommitdiffstats
path: root/main/task/musl-fix.patch
blob: 4cc586980cab0f22b3d234bd013976f88520f138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/Path.cpp b/src/Path.cpp
index 94657e2..6a82199 100644
--- a/src/Path.cpp
+++ b/src/Path.cpp
@@ -38,6 +38,15 @@
 #include <Directory.h>
 #include <Path.h>
 
+/* fixes build with musl libc */
+#ifndef GLOB_TILDE
+#define GLOB_TILDE 0
+#endif
+
+#ifndef GLOB_BRACE
+#define GLOB_BRACE 0
+#endif
+
 ////////////////////////////////////////////////////////////////////////////////
 std::ostream& operator<< (std::ostream& out, const Path& path)
 {