aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-platform/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-platform/main.cpp')
-rw-r--r--test/test-platform/main.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/test-platform/main.cpp b/test/test-platform/main.cpp
index 1cd1594..8a2a07a 100644
--- a/test/test-platform/main.cpp
+++ b/test/test-platform/main.cpp
@@ -22,11 +22,14 @@
* CREATED: 2011-11-25
* UPDATED: 2011-11-25
*/
-#include <iostream>
-#include <semaphore.h>
+
#include "TestPlatform.h"
+
+#include <iostream>
+#include <cstdlib>
+extern "C" {
#include <semaphore.h>
-#include <stdlib.h>
+}
using namespace std;