aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-10 18:37:15 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-10 18:45:55 +0200
commit3e2be4237ac6f3e8bcec8b10d295182cefe67330 (patch)
tree0901ede8a0e1f52630b06b1972b3619ae931582e /CAN-binder
parenta6ac908369144c5d318f05b43ccdf280f562cd68 (diff)
Fix: circular include for socket classes.
Change-Id: Ibcd71f585246172c191b67b45e3b2763f7722958 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder')
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan-bcm.hpp1
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan-raw.hpp1
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.hpp1
3 files changed, 2 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/utils/socketcan-bcm.hpp b/CAN-binder/low-can-binding/utils/socketcan-bcm.hpp
index d23b0672..2e4547ba 100644
--- a/CAN-binder/low-can-binding/utils/socketcan-bcm.hpp
+++ b/CAN-binder/low-can-binding/utils/socketcan-bcm.hpp
@@ -18,6 +18,7 @@
#pragma once
#include "socketcan.hpp"
+#include "../can/can-message.hpp"
namespace utils
{
diff --git a/CAN-binder/low-can-binding/utils/socketcan-raw.hpp b/CAN-binder/low-can-binding/utils/socketcan-raw.hpp
index 40a6e025..61672411 100644
--- a/CAN-binder/low-can-binding/utils/socketcan-raw.hpp
+++ b/CAN-binder/low-can-binding/utils/socketcan-raw.hpp
@@ -17,6 +17,7 @@
#pragma once
#include "socketcan.hpp"
+#include "../can/can-message.hpp"
namespace utils
{
diff --git a/CAN-binder/low-can-binding/utils/socketcan.hpp b/CAN-binder/low-can-binding/utils/socketcan.hpp
index 7011bf99..c3abb2ff 100644
--- a/CAN-binder/low-can-binding/utils/socketcan.hpp
+++ b/CAN-binder/low-can-binding/utils/socketcan.hpp
@@ -23,7 +23,6 @@
#include <linux/can/bcm.h>
#include <string.h>
-#include "../can/can-message.hpp"
#include "../binding/low-can-hat.hpp"
#define INVALID_SOCKET -1