From 9aa2f61058b4b4c3bdc5dabc373bd33188d941bf Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 19 Mar 2026 10:02:10 -0400 Subject: [PATCH] limits.h follow-up --- src/botl.c | 3 --- src/end.c | 3 --- src/files.c | 5 ----- 3 files changed, 11 deletions(-) diff --git a/src/botl.c b/src/botl.c index eddfcccf5..2e9ed01db 100644 --- a/src/botl.c +++ b/src/botl.c @@ -4,9 +4,6 @@ /* NetHack may be freely redistributed. See license for details. */ #include "hack.h" -#ifndef LONG_MAX -#include -#endif extern const char *const hu_stat[]; /* defined in eat.c */ diff --git a/src/end.c b/src/end.c index a4ed7fc0d..1da474b39 100644 --- a/src/end.c +++ b/src/end.c @@ -9,9 +9,6 @@ #ifndef NO_SIGNAL #include #endif -#ifndef LONG_MAX -#include -#endif #include "dlb.h" #ifndef SFCTOOL diff --git a/src/files.c b/src/files.c index abdb728f5..b8efef8d1 100644 --- a/src/files.c +++ b/src/files.c @@ -3139,11 +3139,6 @@ debugcore(const char *filename, boolean wildcards) #endif /*DEBUG*/ #ifndef SFCTOOL -#ifdef UNIX -#ifndef PATH_MAX -#include -#endif -#endif #define SYSCONFFILE "system configuration file"