From: Romain Forlot Date: Wed, 8 Mar 2017 22:46:59 +0000 (+0100) Subject: Forward declaration needed instead of include the X-Git-Tag: 5.0.2~526 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=b8e9588a9fb64b2e7ef7859ae0ab147c0c92ddda;p=apps%2Fagl-service-can-low-level.git Forward declaration needed instead of include the whole file. Lighter. Change-Id: I14af5868679e5c65bda9a4395b040cc28af04059 Signed-off-by: Romain Forlot --- diff --git a/src/can/can-message.hpp b/src/can/can-message.hpp index 6736a9bf..fc85ed9c 100644 --- a/src/can/can-message.hpp +++ b/src/can/can-message.hpp @@ -22,11 +22,12 @@ #include #include -#include "can/can-bus.hpp" #include "utils/timer.hpp" #define CAN_MESSAGE_SIZE 8 +class can_bus_dev_t; + /** * @enum can_message_format * @brief The ID format for a CAN message.