From 649ce414368ffc0920d317c30319b909419bcd6e Mon Sep 17 00:00:00 2001 From: Michael Kaplan Date: Tue, 28 Nov 2017 13:15:27 +0100 Subject: [PATCH] CpuUid: moved includes of string and vector The problem appeared in the travis-ci build when building the SAMR21G18A target. It seems this target lacks support of STL somehow. If DEVICE_CPUUID is not defined, the string and vector headers would still be included - so on "buggy stl" targets, this would lead to build error --- drivers/CpuUid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/CpuUid.h b/drivers/CpuUid.h index 1df93ba901..ada10b0fd9 100644 --- a/drivers/CpuUid.h +++ b/drivers/CpuUid.h @@ -16,12 +16,12 @@ #ifndef MBED_CPUUID_H #define MBED_CPUUID_H -#include -#include #include "platform/platform.h" #if defined(DEVICE_CPUUID) || defined(DOXYGEN_ONLY) +#include +#include namespace mbed { /** \addtogroup drivers */