Subject: | #include <isc/util.h> needs to added to execute.c |
To: | dhcp-public@isc.org |
Date: | Thu, 19 Oct 2017 13:13:46 -1000 |
From: | marka@isc.org |
cc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../includes -I/usr/home/tbox/cvs/robie/builds/DHCP.HEAD.disable-dhcpv6/DHCP/bind/include -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c
execute.c:190:4: error: implicit declaration of function 'POST' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
POST(status);
<isc/util.h> was never supposed to be included in any other header file as it pollutes the
namespace with non ISC_ macros. This has been fixed in BIND 9 but it appears that execute.c
was implicitly depending upon it being included via one of the other header files. The need
to be done explicitly.