diff options
-rw-r--r-- | src/tests/Resourcetest.cc | 1 | ||||
-rw-r--r-- | src/tests/StringUtiltest.cc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc index 8cfae58..9379663 100644 --- a/src/tests/Resourcetest.cc +++ b/src/tests/Resourcetest.cc | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <string> | 29 | #include <string> |
30 | #include <iostream> | 30 | #include <iostream> |
31 | #include <cstdio> | ||
31 | 32 | ||
32 | using namespace std; | 33 | using namespace std; |
33 | 34 | ||
diff --git a/src/tests/StringUtiltest.cc b/src/tests/StringUtiltest.cc index 95dd5f0..09b73c7 100644 --- a/src/tests/StringUtiltest.cc +++ b/src/tests/StringUtiltest.cc | |||
@@ -20,6 +20,9 @@ | |||
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | #include "../StringUtil.hh" | 22 | #include "../StringUtil.hh" |
23 | #ifndef _GNU_SOURCE | ||
24 | #define _GNU_SOURCE | ||
25 | #endif //_GNU_SOURCE | ||
23 | 26 | ||
24 | #include <vector> | 27 | #include <vector> |
25 | #include <iostream> | 28 | #include <iostream> |