summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-12-10 08:10:40 -0300
committerThomas Haller <thaller@redhat.com>2020-12-10 12:36:38 +0100
commitc992f460c74bee491f831a21326f51c907376ebf (patch)
tree720387fda00142a03178358dc7dc791961867acc
parent5e01c87cad12dbd6e210e122481b79887818aef6 (diff)
downloadNetworkManager-c992f460c74bee491f831a21326f51c907376ebf.tar.gz
build: check for reallocarray in stdlib.h
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f86cda69ac..8fd65d1371 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,7 @@ AC_CHECK_DECLS([
reallocarray],
[], [], [[
#include <malloc.h>
+#include <stdlib.h>
]])
AC_CHECK_DECLS([