rogue4: rearrange some includes.

Using MSVC with pdcurses, curses.h has to be included after windows.h
and before process.h.  This is apparently because bool is now a
built-in type which pdcurses is not allowed to redefine.  But I don't
entirely understand how the headers are interacting, and I don't think
the MSDN page does either.
This commit is contained in:
John "Elwin" Edwards 2015-07-31 20:01:44 -04:00
parent 00d28d536a
commit 4bd72ac69f

View file

@ -36,7 +36,6 @@
#if defined(_WIN32)
#include <Windows.h>
#include <Lmcons.h>
#include <process.h>
#include <shlobj.h>
#include <sys/types.h>
#include <io.h>
@ -73,6 +72,10 @@ char *strdup(const char *s);
#include <term.h>
#endif
#if defined(_WIN32)
#include <process.h>
#endif
#include <stdio.h>
#include <fcntl.h>
#include <limits.h>