So as not to complicate any onefile efforts by leaving it defined.
#define X11_BUILD
#include "config.h" /* #define for const for non __STDC__ compilers */
#undef X11_BUILD
+
#include "lint.h" /* for nethack's nhStr() macro */
#include "winX.h" /* to make sure protoypes match corresponding functions */
#define SHORT_FILENAMES
#endif
-#define X11_BUILD
-
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#undef SHORT_FILENAMES /* hack.h will reset via global.h if necessary */
#endif
+#define X11_BUILD
#include "hack.h"
+#undef X11_BUILD
+
#include "winX.h"
#include "dlb.h"
#include "xwindow.h"
#endif
#define X11_BUILD
-
#include "hack.h"
+#undef X11_BUILD
+
#include "winX.h"
static void menu_size_change_handler(Widget, XtPointer, XEvent *,
#endif
#define X11_BUILD
-
#include "hack.h"
+#undef X11_BUILD
+
#include "func_tab.h"
#include "winX.h"
#endif
#define X11_BUILD
-
#include "hack.h"
+#undef X11_BUILD
+
#include "winX.h"
#include "xwindow.h"