Add condition to allow inclusion in host code
authorNathael Pajani <nathael.pajani@ed3l.fr>
Thu, 3 Jan 2019 16:49:37 +0000 (17:49 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000 (17:03 +0100)
include/lib/protocols/dtplug/defs.h

index 51a1f5b..0b93aee 100644 (file)
@@ -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