diff --git a/src/d_main.cpp b/src/d_main.cpp index 9dcf480fb..87ed27e4c 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -30,7 +30,6 @@ #endif #include -#include #include "doomdef.h" #include "am_map.h" diff --git a/src/doomtype.h b/src/doomtype.h index 3326de4dc..7c5680439 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -147,11 +147,9 @@ int strlwr(char *n); // from dosstr.c #include // for size_t #ifndef SRB2_HAVE_STRLCPY -#ifndef __cplusplus size_t strlcat(char *dst, const char *src, size_t siz); size_t strlcpy(char *dst, const char *src, size_t siz); #endif -#endif // Macro for use with char foo[FOOSIZE+1] type buffers. // Never use this with a buffer that is a "char *" or passed diff --git a/src/m_misc.cpp b/src/m_misc.cpp index 78cc19194..63859293f 100644 --- a/src/m_misc.cpp +++ b/src/m_misc.cpp @@ -28,7 +28,6 @@ // Extended map support. #include -#include #include "doomdef.h" #include "g_game.h"