From: mahi Date: Thu, 13 Sep 2012 12:19:50 +0000 (+0200) Subject: WdgM: Corrected include when service component was used. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/87ba8aa5966602ffe36b1e0fb56b9948316c61bf WdgM: Corrected include when service component was used. --- diff --git a/include/WdgM.h b/include/WdgM.h index dcafadd6..6e0c9f34 100644 --- a/include/WdgM.h +++ b/include/WdgM.h @@ -26,11 +26,13 @@ #define WDGM_SW_PATCH_VERSION 0 #include "Std_Types.h" + /* "forward" declare types due to circular dependency chain */ +#ifndef CFG_WDGM_USE_SERVICE_COMPONENT typedef uint8 WdgM_SupervisedEntityIdType; +#endif typedef uint8 WdgM_ModeType; - #include "WdgM_Cfg.h" // API Service ID's