Permalink
Browse files

include unistd.h/process.h for _exit

  • Loading branch information...
1 parent 93bb262 commit 7eb54617324f45107ffcc742769a47d6a310aedc @jckarter jckarter committed Apr 12, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 compiler/src/main.cpp
View
7 compiler/src/main.cpp
@@ -1,5 +1,12 @@
#include "clay.hpp"
+// for _exit
+#ifdef WIN32
+# include <process.h>
+#else
+# include <unistd.h>
+#endif
+
namespace clay {
#ifdef WIN32

0 comments on commit 7eb5461

Please sign in to comment.