Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 204:4b1999ac91cf | 205:6e6fb0955095 |
|---|---|
| 53 #define RSXR_ROOMS 0XABCD0017 | 53 #define RSXR_ROOMS 0XABCD0017 |
| 54 | 54 |
| 55 #if defined(_WIN32) | 55 #if defined(_WIN32) |
| 56 #include <Windows.h> | 56 #include <Windows.h> |
| 57 #include <Lmcons.h> | 57 #include <Lmcons.h> |
| 58 #include <process.h> | |
| 59 #include <shlobj.h> | 58 #include <shlobj.h> |
| 60 #include <Shlwapi.h> | 59 #include <Shlwapi.h> |
| 61 #undef VOID | 60 #undef VOID |
| 62 #undef MOUSE_MOVED | 61 #undef MOUSE_MOVED |
| 63 #elif defined(__DJGPP__) | 62 #elif defined(__DJGPP__) |
| 80 #include <time.h> | 79 #include <time.h> |
| 81 #include <signal.h> | 80 #include <signal.h> |
| 82 #include "rogue.h" | 81 #include "rogue.h" |
| 83 #include "mach_dep.h" | 82 #include "mach_dep.h" |
| 84 | 83 |
| 84 #if defined(_WIN32) | |
| 85 #include <process.h> | |
| 86 #endif | |
| 85 | 87 |
| 86 #define READSTAT ((format_error == 0) && (read_error == 0)) | 88 #define READSTAT ((format_error == 0) && (read_error == 0)) |
| 87 #define WRITESTAT (write_error == 0) | 89 #define WRITESTAT (write_error == 0) |
| 88 | 90 |
| 89 int read_error = FALSE; | 91 int read_error = FALSE; |
