summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Makefile.am1
-rw-r--r--src/server/server.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/server/Makefile.am b/src/server/Makefile.am
index 2f070075..6e52fdfb 100644
--- a/src/server/Makefile.am
+++ b/src/server/Makefile.am
@@ -1,4 +1,5 @@
AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/target \
-I$(top_srcdir)/src/flash \
diff --git a/src/server/server.c b/src/server/server.c
index 7416784c..92292eb5 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -29,6 +29,7 @@
#include "server.h"
#include "target.h"
+#include "openocd.h"
#include <signal.h>
@@ -285,9 +286,6 @@ int remove_services(void)
return ERROR_OK;
}
-extern void openocd_sleep_prelude(void);
-extern void openocd_sleep_postlude(void);
-
int server_loop(struct command_context *command_context)
{
struct service *service;