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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user