From a79b76d893ca5c3b8144b2098c88f516052d72fe Mon Sep 17 00:00:00 2001 From: David Brownell Date: Wed, 2 Dec 2009 15:24:14 -0800 Subject: [PATCH] stubs: buildfix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The new stubs for httpd and ioutil gave errors like: ioutil_stubs.c: In function ‘ioutil_init’: ioutil_stubs.c:27: error: implicit declaration of function ‘LOG_DEBUG’ ioutil_stubs.c:28: error: ‘ERROR_OK’ undeclared (first use in this function) ioutil_stubs.c:28: error: (Each undeclared identifier is reported only once ioutil_stubs.c:28: error: for each function it appears in.) Fix. Signed-off-by: David Brownell --- src/helper/ioutil_stubs.c | 1 + src/server/httpd_stubs.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/helper/ioutil_stubs.c b/src/helper/ioutil_stubs.c index 1171a6f13..3cd9f970e 100644 --- a/src/helper/ioutil_stubs.c +++ b/src/helper/ioutil_stubs.c @@ -21,6 +21,7 @@ #include #endif #include "ioutil.h" +#include "log.h" int ioutil_init(struct command_context *cmd_ctx) { diff --git a/src/server/httpd_stubs.c b/src/server/httpd_stubs.c index 0a63362c6..6c289afa9 100644 --- a/src/server/httpd_stubs.c +++ b/src/server/httpd_stubs.c @@ -21,6 +21,7 @@ #include #endif #include "httpd.h" +#include "log.h" int httpd_start(struct command_context *cmd_ctx) { -- 2.11.4.GIT