diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h
--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47	2012-01-10 11:17:50.904275650 -0500
+++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h	2012-01-10 11:17:57.860216380 -0500
@@ -19,6 +19,8 @@
 
 #include "GTLTest/Thread.h"
 
+#include <unistd.h>
+
 #ifdef GTLTEST_HAVE_THREAD
 
 class MyThreadTCTLCT : public GTLTest::Thread
diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h
--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47	2012-01-10 11:18:19.128035026 -0500
+++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h	2012-01-10 11:18:28.365717117 -0500
@@ -19,6 +19,8 @@
 
 #include "GTLTest/Thread.h"
 
+#include <unistd.h>
+
 #ifdef GTLTEST_HAVE_THREAD
 
 class MyThreadTCTLRT : public GTLTest::Thread
diff -up OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47 OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h
--- OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47	2011-10-30 10:32:09.000000000 -0400
+++ OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h	2012-01-10 11:16:41.936863656 -0500
@@ -18,6 +18,7 @@
  */
 
 #include "GTLTest/Thread.h"
+#include <unistd.h>
 
 #ifdef GTLTEST_HAVE_THREAD
 
diff -up OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47 OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h
--- OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47	2012-01-10 11:18:50.154530703 -0500
+++ OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h	2012-01-10 11:18:59.409451568 -0500
@@ -21,6 +21,8 @@
 #include "GTLCore/Image.h"
 #include "GTLCore/Type.h"
 
+#include <unistd.h>
+
 #ifdef GTLTEST_HAVE_THREAD
 
 class MyThreadTCTLKT : public GTLTest::Thread