eliminate hack.h usage from win/share/*.c

Switch win/share/*.c from hack.h to config.h plus miscellaenous
other headers.  It's possible that there is conditional code that
didn't get exercised in my testing.  The Unix Makefiles don't deal
with safeproc.c or tileset.c so I just compiled those without any
attempt to link.
This commit is contained in:
PatR
2020-05-03 10:52:54 -07:00
parent 8caaf894e5
commit 3c6deed5e9
8 changed files with 66 additions and 38 deletions

View File

@@ -8,7 +8,14 @@
* then again with it defined to produce tiletxt.{o,obj}.
*/
#include "hack.h"
#include "config.h"
#include "pm.h"
#include "onames.h"
#include "permonst.h"
#include "objclass.h"
#include "rm.h"
#include "display.h"
extern int FDECL(def_char_to_objclass, (CHAR_P));
#define Fprintf (void) fprintf