From 434cb2935e8dfcc81aa649eff42302b6fc4b43d6 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 24 Apr 2023 15:49:33 +0200 Subject: [PATCH] use includes --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c9468d6..ea45c11 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,8 @@ AX_CHECK_COMPILE_FLAG([-std=gnu99], [CFLAGS="$CFLAGS -std=gnu99"], [ AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="$CFLAGS -std=c99"]) ]) AC_CONFIG_HEADERS([libpkgconf/config.h]) -AC_CHECK_DECLS([strlcpy, strlcat, strndup, reallocarray]) +AC_CHECK_DECLS([strlcpy, strlcat, strndup], [], [], [[#include ]]) +AC_CHECK_DECLS([reallocarray]) AC_CHECK_HEADERS([sys/stat.h]) AM_INIT_AUTOMAKE([foreign dist-xz subdir-objects]) AM_SILENT_RULES([yes])