From cdb2b0ea29868a674b4dc5e3d356e2fef6d89f4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Remco=20R=C4=B3nders?= Date: Mon, 26 Jan 2026 21:22:24 +0000 Subject: [PATCH] CLEANUP: Assume stddef.h is always present --- Config | 9 --------- include/struct.h | 4 +--- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Config b/Config index 57fc5f5..f708672 100755 --- a/Config +++ b/Config @@ -22,7 +22,6 @@ AUTO_CONFIG="" # GLIBCCHECK=undef STDLIBH=undef -STDDEFH=undef SYSSYSLOGH=undef PARAMH=undef UNISTDH=undef @@ -337,13 +336,6 @@ if [ -r /usr/include/stdlib.h ] ; then else echo 'not found' fi -echo $n "Looking for stddef.h...$c" -if [ -r /usr/include/stddef.h ] ; then - STDDEFH=define - echo 'found' -else - echo 'not found' -fi echo $n "Looking for /usr/include/sys/syslog.h...$c" if [ -r /usr/include/sys/syslog.h ] ; then SYSSYSLOGH=define @@ -844,7 +836,6 @@ cat > $SETUP <<__EOF__ #$STRINGH HAVE_STRING_H #$STRINGSH HAVE_STRINGS_H #$STDLIBH HAVE_STDLIB_H -#$STDDEFH HAVE_STDDEF_H #$SYSSYSLOGH HAVE_SYSSYSLOG_H #$HINDEX HAVE_INDEX #$STRERROR HAVE_STRERROR diff --git a/include/struct.h b/include/struct.h index 057e63d..2326ed3 100644 --- a/include/struct.h +++ b/include/struct.h @@ -26,9 +26,7 @@ #include #include #include -#ifdef HAVE_STDDEF_H -# include -#endif +#include #ifdef USE_SYSLOG # include -- 2.30.2