From ebfec47f50ceee7df8a36372fe77a6ed427ba3e3 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 3 Jan 2019 17:49:37 +0100 Subject: [PATCH] Add condition to allow inclusion in host code --- include/lib/protocols/dtplug/defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/lib/protocols/dtplug/defs.h b/include/lib/protocols/dtplug/defs.h index 51a1f5b..0b93aee 100644 --- a/include/lib/protocols/dtplug/defs.h +++ b/include/lib/protocols/dtplug/defs.h @@ -23,7 +23,9 @@ #define LIB_PROTOCOLS_DTPLUG_DEFS_H +#ifndef HOST_HAS_STDINT #include "lib/stdint.h" +#endif /******************************************************************************/ /* These structures define the packets used to transfer data over the serial link -- 2.43.0