diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/Resourcetest.cc | 6 | ||||
-rw-r--r-- | src/tests/signaltest.cc | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc index f82c4b4..99dfc54 100644 --- a/src/tests/Resourcetest.cc +++ b/src/tests/Resourcetest.cc | |||
@@ -28,7 +28,11 @@ | |||
28 | 28 | ||
29 | #include <string> | 29 | #include <string> |
30 | #include <iostream> | 30 | #include <iostream> |
31 | #include <cstdio> | 31 | #ifdef HAVE_CSTDIO |
32 | #include <cstdio> | ||
33 | #else | ||
34 | #include <stdio.h> | ||
35 | #endif | ||
32 | 36 | ||
33 | using namespace std; | 37 | using namespace std; |
34 | 38 | ||
diff --git a/src/tests/signaltest.cc b/src/tests/signaltest.cc index ef7643f..cc838b0 100644 --- a/src/tests/signaltest.cc +++ b/src/tests/signaltest.cc | |||
@@ -22,7 +22,11 @@ | |||
22 | #include "../FbTk/SignalHandler.hh" | 22 | #include "../FbTk/SignalHandler.hh" |
23 | 23 | ||
24 | #include <iostream> | 24 | #include <iostream> |
25 | #include <cassert> | 25 | #ifdef HAVE_CASSERT |
26 | #include <cassert> | ||
27 | #else | ||
28 | #include <assert.h> | ||
29 | #endif | ||
26 | 30 | ||
27 | using namespace std; | 31 | using namespace std; |
28 | using namespace FbTk; | 32 | using namespace FbTk; |