From: Darren Tucker Date: Fri, 5 Sep 2025 09:55:20 +0000 (+1000) Subject: Create replacement endian.h if needed. X-Git-Tag: V_10_1_P1~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6aac2beaa53467e83f6a137376b6dcf423ab6f6c;p=thirdparty%2Fopenssh-portable.git Create replacement endian.h if needed. Remove #ifdef HAVE_ENDIAN_H wrapper. ok djm@ --- 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 #include #include -#ifdef HAVE_ENDIAN_H -# include -#endif +#include #include "sshkey.h" #include "kex.h"