<div dir="ltr">David,<div><br></div><div>It's just been done. Happy coding!</div><div><br></div><div>Jane</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 12:43 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
When I try building on OS X Mavericks using the latest Xcode, I get an error that pid_t is not defined in util/CubitProcess.h. It appears that <unistd.h> must be included for this type to be defined. A patch is below. Could someone apply it or help me revise it so I can build without patching CGM?<br>
<br>
Thanks,<br>
David<br>
<br>
--- a/util/CubitProcess.hpp<br>
+++ b/util/CubitProcess.hpp<br>
@@ -20,6 +20,7 @@<br>
#include <windows.h><br>
typedef PROCESS_INFORMATION PidType;<br>
#else<br>
+# include <unistd.h><br>
typedef pid_t PidType;<br>
#endif<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jane Hu<br>
<br>
Asst. Researcher<br>
Dept. of Engineering Physics<br>
UW @ Madison<br>
<br>
"And we know that for those who love God, that is, for those who are
called according to his purpose, all things are working together for
good." (Romans 8:28)
</div>