summaryrefslogtreecommitdiffstats
path: root/Tests/SubDir
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SubDir')
-rw-r--r--Tests/SubDir/Executable/test.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tests/SubDir/Executable/test.cxx b/Tests/SubDir/Executable/test.cxx
index 12913e8..f351521 100644
--- a/Tests/SubDir/Executable/test.cxx
+++ b/Tests/SubDir/Executable/test.cxx
@@ -1,8 +1,10 @@
#include <stdio.h>
-#include <io.h>
-#include <stdio.h>
#include <stdlib.h>
-
+#ifdef _WIN32
+#include <io.h>
+#else
+#include <unistd.h>
+#endif
// return true if the file exists
int FileExists(const char* filename)