[openssh-commits] [openssh] 05/08: Create replacement nlist.h if needed.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Sep 5 20:14:28 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit f93de828b9b0f29bff51d38ea92d0759595ec30b
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Fri Sep 5 20:07:16 2025 +1000

    Create replacement nlist.h if needed.
    
    Remove #ifdef HAVE_NLIST_H wrapper.  ok djm@
---
 configure.ac | 1 +
 misc.c       | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index bc18f8ee9..c6cc57f25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 072f8d68f..cb061d4e1 100644
--- 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>

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list