summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-11-01 23:59:02 +0000
committerTomek CEDRO <cederom@tlen.pl>2011-11-01 23:59:02 +0000
commit03925b8da483524051ed72054213c6ff21252b4e (patch)
treefebf11c7d102411eee7dc9a916710d1e8f32c005
parent0db454e8d91d3246e32b5e4257a4ea5cfb2815a4 (diff)
downloadopenocd_libswd-03925b8da483524051ed72054213c6ff21252b4e.tar.gz
openocd_libswd-03925b8da483524051ed72054213c6ff21252b4e.tar.bz2
openocd_libswd-03925b8da483524051ed72054213c6ff21252b4e.tar.xz
openocd_libswd-03925b8da483524051ed72054213c6ff21252b4e.zip
transport/swd_drv: Fixed header issues causing linux build problems. Thanks to Przemysław Węgrzyn for pointing this out :-)
-rw-r--r--src/transport/swd_libswd_drv_openocd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/transport/swd_libswd_drv_openocd.c b/src/transport/swd_libswd_drv_openocd.c
index 583c9fae..acc8830c 100644
--- a/src/transport/swd_libswd_drv_openocd.c
+++ b/src/transport/swd_libswd_drv_openocd.c
@@ -36,13 +36,7 @@
/** \file libswd_drv_openocd.c Driver Bridge between LibSWD and OpenOCD. */
-#include <libswd.h>
-#include <sys/types.h>
-#include <helper/system.h>
-#include <helper/log.h>
-#include <jtag/interface.h>
-#include <helper/log.h>
-#include <helper/command.h>
+#include <transport/swd.h>
/** OpenOCD as for now use global pointer to driver structure. */
extern struct jtag_interface *jtag_interface;