[cgma-dev] r6079 - cgm/trunk/util

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Oct 24 17:42:24 CDT 2013


Author: jain
Date: 2013-10-24 17:42:24 -0500 (Thu, 24 Oct 2013)
New Revision: 6079

Modified:
   cgm/trunk/util/CubitProcess.cpp
   cgm/trunk/util/CubitProcess.hpp
Log:
Adding headers for pid_t

Modified: cgm/trunk/util/CubitProcess.cpp
===================================================================
--- cgm/trunk/util/CubitProcess.cpp	2013-10-22 18:08:00 UTC (rev 6078)
+++ cgm/trunk/util/CubitProcess.cpp	2013-10-24 22:42:24 UTC (rev 6079)
@@ -15,7 +15,6 @@
 #define PATH_MAX _MAX_PATH
 const char path_separator = '\\';
 #else
-#include <unistd.h>
 #include <signal.h>
 #include <sys/wait.h>
 #include <limits.h>

Modified: cgm/trunk/util/CubitProcess.hpp
===================================================================
--- cgm/trunk/util/CubitProcess.hpp	2013-10-22 18:08:00 UTC (rev 6078)
+++ cgm/trunk/util/CubitProcess.hpp	2013-10-24 22:42:24 UTC (rev 6079)
@@ -20,6 +20,8 @@
 #include <windows.h>
 typedef PROCESS_INFORMATION PidType;
 #else
+#include <unistd.h>
+#include <sys/types.h>
 typedef pid_t PidType;
 #endif
 



More information about the cgma-dev mailing list