mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-01-12 00:04:08 +08:00
Create replacement endian.h if needed.
Remove #ifdef HAVE_ENDIAN_H wrapper. ok djm@
This commit is contained in:
@@ -457,7 +457,6 @@ AC_CHECK_HEADERS([ \
|
|||||||
crypt.h \
|
crypt.h \
|
||||||
crypto/sha2.h \
|
crypto/sha2.h \
|
||||||
dirent.h \
|
dirent.h \
|
||||||
endian.h \
|
|
||||||
elf.h \
|
elf.h \
|
||||||
err.h \
|
err.h \
|
||||||
features.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.
|
# '#ifdef HAVE_FOO_H'. If we create any such headers, add the path to includes.
|
||||||
compatincludes=no
|
compatincludes=no
|
||||||
AC_CHECK_HEADERS([ \
|
AC_CHECK_HEADERS([ \
|
||||||
|
endian.h \
|
||||||
ifaddrs.h \
|
ifaddrs.h \
|
||||||
libgen.h \
|
libgen.h \
|
||||||
paths.h \
|
paths.h \
|
||||||
|
|||||||
@@ -32,9 +32,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#ifdef HAVE_ENDIAN_H
|
#include <endian.h>
|
||||||
# include <endian.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sshkey.h"
|
#include "sshkey.h"
|
||||||
#include "kex.h"
|
#include "kex.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user