From 7c15301841e2e9d37cae732400de63ae9c0961d6 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 29 Apr 2018 17:54:12 +1000 Subject: 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. --- openbsd-compat/strndup.c | 2 +- openbsd-compat/strnlen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsd-compat') 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 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 -- cgit v1.2.3