summaryrefslogtreecommitdiff
path: root/src/transport/swd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/swd.h')
-rw-r--r--src/transport/swd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/swd.h b/src/transport/swd.h
index 437a8a5e..cf737e32 100644
--- a/src/transport/swd.h
+++ b/src/transport/swd.h
@@ -35,12 +35,16 @@
*/
/** \file swd.h SWD Transport Header File for OpenOCD. */
+
+#ifndef OOCD_SWD_H
+#define OOCD_SWD_H
+
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <libswd.h>
-#include <transport/transport.h>
#include <target/arm.h>
#include <target/arm_adi_v5.h>
#include <helper/log.h>
@@ -62,3 +66,4 @@ extern const struct dap_ops oocd_dap_ops_swd;
int swd_register_commands(struct command_context *cmd_ctx);
+#endif