diff xrogue/state.c @ 205:6e6fb0955095

XRogue: fix some header includes.
author John "Elwin" Edwards
date Thu, 13 Aug 2015 14:57:26 -0400
parents 9b5f1e6aa35a
children a3d90e31a001
line wrap: on
line diff
--- a/xrogue/state.c	Thu Aug 13 07:47:01 2015 -0400
+++ b/xrogue/state.c	Thu Aug 13 14:57:26 2015 -0400
@@ -55,7 +55,6 @@
 #if defined(_WIN32)
 #include <Windows.h>
 #include <Lmcons.h>
-#include <process.h>
 #include <shlobj.h>
 #include <Shlwapi.h>
 #undef VOID
@@ -82,6 +81,9 @@
 #include "rogue.h"
 #include "mach_dep.h"
 
+#if defined(_WIN32)
+#include <process.h>
+#endif
 
 #define READSTAT ((format_error == 0) && (read_error == 0))
 #define WRITESTAT (write_error == 0)