diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-04-29 09:54:12 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-04-29 09:54:12 +0200 |
commit | 7c15301841e2e9d37cae732400de63ae9c0961d6 (patch) | |
tree | c759961768db4f897cd80a373490e4613e400b25 | |
parent | Omit 3des-cbc if OpenSSL built without DES. (diff) | |
download | openssh-7c15301841e2e9d37cae732400de63ae9c0961d6.tar.xz openssh-7c15301841e2e9d37cae732400de63ae9c0961d6.zip |
Use includes.h instead of config.h.
This ensures it picks up the definition of DEF_WEAK, the lack of which
can cause compile errors in some cases (eg modern AIX). From
michael at felt.demon.nl.
-rw-r--r-- | openbsd-compat/strndup.c | 2 | ||||
-rw-r--r-- | openbsd-compat/strnlen.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/strndup.c b/openbsd-compat/strndup.c index ebb4eccfb..30ac6f046 100644 --- a/openbsd-compat/strndup.c +++ b/openbsd-compat/strndup.c @@ -16,7 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "config.h" +#include "includes.h" #if !defined(HAVE_STRNDUP) || defined(BROKEN_STRNDUP) #include <sys/types.h> diff --git a/openbsd-compat/strnlen.c b/openbsd-compat/strnlen.c index 8cc6b96b5..7ad3573a6 100644 --- a/openbsd-compat/strnlen.c +++ b/openbsd-compat/strnlen.c @@ -18,7 +18,7 @@ /* OPENBSD ORIGINAL: lib/libc/string/strnlen.c */ -#include "config.h" +#include "includes.h" #if !defined(HAVE_STRNLEN) || defined(BROKEN_STRNLEN) #include <sys/types.h> |