diff --git a/Common/OS.cpp b/Common/OS.cpp
index bc8cad14a0e95e3f7bb383c710a181148dc52761..58956d425a587f2f520f5670decf2ca3dd94e1e2 100644
--- a/Common/OS.cpp
+++ b/Common/OS.cpp
@@ -1,4 +1,4 @@
-// $Id: OS.cpp,v 1.3 2006-03-01 16:07:17 geuzaine Exp $
+// $Id: OS.cpp,v 1.4 2006-03-03 12:40:21 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -34,7 +34,9 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/resource.h>
-#else
+#endif
+
+#if defined(WIN32)
 #include <windows.h>
 #include <process.h>
 #include <io.h>