[openssh-commits] [openssh] 04/08: Create replacement endian.h if needed.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Sep 5 20:14:27 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 6aac2beaa53467e83f6a137376b6dcf423ab6f6c
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Fri Sep 5 19:55:20 2025 +1000
Create replacement endian.h if needed.
Remove #ifdef HAVE_ENDIAN_H wrapper. ok djm@
---
configure.ac | 2 +-
kexmlkem768x25519.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index b174f5cc8..bc18f8ee9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -457,7 +457,6 @@ AC_CHECK_HEADERS([ \
crypt.h \
crypto/sha2.h \
dirent.h \
- endian.h \
elf.h \
err.h \
features.h \
@@ -529,6 +528,7 @@ AC_CHECK_HEADERS([ \
# '#ifdef HAVE_FOO_H'. If we create any such headers, add the path to includes.
compatincludes=no
AC_CHECK_HEADERS([ \
+ endian.h \
ifaddrs.h \
libgen.h \
paths.h \
diff --git a/kexmlkem768x25519.c b/kexmlkem768x25519.c
index 7ade7a7f9..2585d1db3 100644
--- a/kexmlkem768x25519.c
+++ b/kexmlkem768x25519.c
@@ -32,9 +32,7 @@
#include <stdbool.h>
#include <string.h>
#include <signal.h>
-#ifdef HAVE_ENDIAN_H
-# include <endian.h>
-#endif
+#include <endian.h>
#include "sshkey.h"
#include "kex.h"
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list