summaryrefslogtreecommitdiffstats
path: root/main/task/musl-fix.patch
blob: 91861ec2e8c35ce0c34feb50d9bb069d495588c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- task-2.2.0.orig/src/Directory.cpp
+++ task-2.2.0/src/Directory.cpp
@@ -34,10 +34,7 @@
 #include <string.h>
 #include <Directory.h>
 #include <cmake.h>
-
-#ifdef SOLARIS
 #include <limits.h>
-#endif
 
 ////////////////////////////////////////////////////////////////////////////////
 Directory::Directory ()
--- task-2.2.0.orig/src/Path.cpp
+++ task-2.2.0/src/Path.cpp
@@ -38,6 +38,14 @@
 #include <Path.h>
 #include <cmake.h>
 
+#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)
 {