summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 15:24:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 15:24:14 -0800
commita79b76d893ca5c3b8144b2098c88f516052d72fe (patch)
treed1751d998acc50c0407a6e2248549cefd3cd2cf8 /src
parent6ec526e706483cd2de6c8de4bafa885522a782cd (diff)
downloadopenocd+libswd-a79b76d893ca5c3b8144b2098c88f516052d72fe.tar.gz
openocd+libswd-a79b76d893ca5c3b8144b2098c88f516052d72fe.tar.bz2
openocd+libswd-a79b76d893ca5c3b8144b2098c88f516052d72fe.tar.xz
openocd+libswd-a79b76d893ca5c3b8144b2098c88f516052d72fe.zip
stubs: buildfix
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>
Diffstat (limited to 'src')
-rw-r--r--src/helper/ioutil_stubs.c1
-rw-r--r--src/server/httpd_stubs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/ioutil_stubs.c b/src/helper/ioutil_stubs.c
index 1171a6f1..3cd9f970 100644
--- a/src/helper/ioutil_stubs.c
+++ b/src/helper/ioutil_stubs.c
@@ -21,6 +21,7 @@
#include <config.h>
#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 0a63362c..6c289afa 100644
--- a/src/server/httpd_stubs.c
+++ b/src/server/httpd_stubs.c
@@ -21,6 +21,7 @@
#include <config.h>
#endif
#include "httpd.h"
+#include "log.h"
int httpd_start(struct command_context *cmd_ctx)
{