avoid some issues with c++ and X11

This commit is contained in:
nhmall
2023-02-01 10:41:04 -05:00
parent 79d8f95f57
commit d4a111083a
6 changed files with 12 additions and 0 deletions

View File

@@ -77,7 +77,9 @@
#undef PRESERVE_NO_SYSV
#endif
#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 */