diff --git a/binutils/aa_status.c b/binutils/aa_status.c index 78b034090..41f1954e9 100644 --- a/binutils/aa_status.c +++ b/binutils/aa_status.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/parser/Makefile b/parser/Makefile index acef3d77a..8250ac451 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -54,7 +54,7 @@ endif CPPFLAGS += -D_GNU_SOURCE STDLIB_INCLUDE:="\#include " -HAVE_REALLOCARRAY:=$(shell echo $(STDLIB_INCLUDE) | cpp ${CPPFLAGS} | grep -q reallocarray && echo true) +HAVE_REALLOCARRAY:=$(shell echo $(STDLIB_INCLUDE) | ${CPP} ${CPPFLAGS} | grep -q reallocarray && echo true) WARNINGS = -Wall CXX_WARNINGS = ${WARNINGS} ${EXTRA_WARNINGS}