ref: 17a135005a9737b9851155d2758489ad5dc27551
parent: 94d08c9b7ef79f8e0c0a986ba5b66f33ef8ecc64
author: Jacob Moody <moody@posixcafe.org>
date: Sun Jan 29 02:59:20 EST 2023
npe can grow a config.h instead
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -25,9 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#ifndef __plan9__
#include "config.h"
-#endif
#include "deh_main.h"
#include "doomdef.h"
#include "doomstat.h"
--- a/src/doomtype.h
+++ b/src/doomtype.h
@@ -21,9 +21,7 @@
#ifndef __DOOMTYPE__
#define __DOOMTYPE__
-#ifndef __plan9__
#include "config.h"
-#endif
#if defined(_MSC_VER) && !defined(__cplusplus)
#define inline __inline
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -24,9 +24,7 @@
#include "net_client.h"
-#ifndef __plan9__
#include "config.h"
-#endif
#include "ct_chat.h"
#include "doomdef.h"
#include "deh_main.h"
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -22,9 +22,7 @@
#include <stdlib.h>
#include <time.h>
-#ifndef __plan9__
#include "config.h"
-#endif
#include "h2def.h"
#include "ct_chat.h"
--- a/src/hexen/st_start.c
+++ b/src/hexen/st_start.c
@@ -20,9 +20,7 @@
#include <stdarg.h>
-#ifndef __plan9__
#include "config.h"
-#endif
#include "h2def.h"
#include "i_system.h"