stubs: buildfix
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 2 Dec 2009 23:24:14 +0000 (15:24 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 2 Dec 2009 23:24:14 +0000 (15:24 -0800)
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 <dbrownell@users.sourceforge.net>
src/helper/ioutil_stubs.c
src/server/httpd_stubs.c

index 1171a6f135c9c277f4372f47e63efe4134157d0f..3cd9f970e2cf43e5f4c1202150d18929f2f540b1 100644 (file)
@@ -21,6 +21,7 @@
 #include <config.h>
 #endif
 #include "ioutil.h"
+#include "log.h"
 
 int ioutil_init(struct command_context *cmd_ctx)
 {
index 0a63362c6b055eb6b905888e951c318e8c189c0b..6c289afa982df9e34ada65b37e477c2fd6e9af20 100644 (file)
@@ -21,6 +21,7 @@
 #include <config.h>
 #endif
 #include "httpd.h"
+#include "log.h"
 
 int httpd_start(struct command_context *cmd_ctx)
 {