From e4379d241a91885d8d645a3bb0d688fc8265eceb Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Mon, 22 Feb 2016 09:15:51 +0000 Subject: [PATCH] - Moved #include "xcp.h" from boot.h to com.h" to resolve compile error for missing include, when using only the file system and no communication interfaces. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@126 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- Target/Source/boot.h | 1 - Target/Source/com.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Target/Source/boot.h b/Target/Source/boot.h index 1baddbe8..ccda6c3e 100644 --- a/Target/Source/boot.h +++ b/Target/Source/boot.h @@ -68,7 +68,6 @@ #include "backdoor.h" /* backdoor entry module */ #include "file.h" /* file system module */ #include "com.h" /* communication interface */ -#include "xcp.h" /* xcp communication layer */ /**************************************************************************************** diff --git a/Target/Source/com.h b/Target/Source/com.h index 05d25fcf..5a0efcc2 100644 --- a/Target/Source/com.h +++ b/Target/Source/com.h @@ -34,6 +34,12 @@ #define COM_H #if (BOOT_COM_ENABLE > 0) +/**************************************************************************************** +* Include files +****************************************************************************************/ +#include "xcp.h" /* xcp communication layer */ + + /**************************************************************************************** * Macro definitions ****************************************************************************************/