]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Create replacement nlist.h if needed.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 10:07:16 +0000 (20:07 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 10:07:16 +0000 (20:07 +1000)
Remove #ifdef HAVE_NLIST_H wrapper.  ok djm@

configure.ac
misc.c

index bc18f8ee9eef373fc184abf87d25a7f98da13f51..c6cc57f252cef015fd5d472d03bf0a70d49c0299 100644 (file)
@@ -533,6 +533,7 @@ AC_CHECK_HEADERS([ \
     libgen.h \
     paths.h \
     netgroup.h \
+    nlist.h \
     poll.h \
     stdint.h \
     sys/stat.h \
diff --git a/misc.c b/misc.c
index 072f8d68fe902d20550853c3d211219f6502fbc9..cb061d4e1ba8242a9f6c12048752692900c85bf7 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -32,9 +32,7 @@
 #include <limits.h>
 #include <libgen.h>
 #include <poll.h>
-#ifdef HAVE_NLIST_H
 #include <nlist.h>
-#endif
 #include <signal.h>
 #include <stdarg.h>
 #include <stdio.h>