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.
This commit is contained in:
Darren Tucker 2018-04-29 17:54:12 +10:00
parent cec338967a
commit 7c15301841
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>