From 3e2be4237ac6f3e8bcec8b10d295182cefe67330 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 10 May 2017 18:37:15 +0200 Subject: Fix: circular include for socket classes. Change-Id: Ibcd71f585246172c191b67b45e3b2763f7722958 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/utils/socketcan-bcm.hpp | 1 + CAN-binder/low-can-binding/utils/socketcan-raw.hpp | 1 + CAN-binder/low-can-binding/utils/socketcan.hpp | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) 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 #include -#include "../can/can-message.hpp" #include "../binding/low-can-hat.hpp" #define INVALID_SOCKET -1 -- cgit 1.2.3-korg