aports/main/task/musl-fix.patch
2014-01-27 10:19:36 +00:00

21 lines
460 B
Diff

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)
{