fixed compilation error on windows
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 10 Nov 2010 18:00:12 +0000 (12:00 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 10 Nov 2010 18:00:12 +0000 (12:00 -0600)
src/libs/ck-libs/pose/pose.C

index 5e501bdf371cf95a2b411a9402f014a4d448e8ad..2f135db0a252851466c11134146e1342c5751f56 100644 (file)
@@ -1,5 +1,9 @@
 /// Global POSE data and functions; includes and dependencies handled here
-#include <unistd.h>
+
+#if ! defined(_WIN32) || defined(__CYGWIN__)
+#include "unistd.h"
+#endif
+
 #include "pose.h"
 #include "pose.def.h"