--- a/cdlcompilertoolkit/src/CdlTkSyntaxCheck.cpp Thu Dec 17 09:14:18 2009 +0200
+++ b/cdlcompilertoolkit/src/CdlTkSyntaxCheck.cpp Mon Jan 18 21:13:05 2010 +0200
@@ -14,11 +14,18 @@
* Description:
*
*/
-#include "CdlCompilerToolkit/CdlTkProcess.h"
+#include <CdlCompilerToolkit/CdlTkProcess.h>
+#include <CdlCompilerToolkit/CdlCompat.h>
#include "CdlTkPriv.h"
#include <fstream>
#include <iomanip>
+
+#ifdef CDL_W32
#include <direct.h>
+#else
+#include <unistd.h>
+#define _getcwd getcwd
+#endif
#include <iostream>
using namespace std;