From 32c2023fb625a5af9f6480ba9b91660285c5d57a Mon Sep 17 00:00:00 2001 From: Tommi Date: Mon, 25 May 2015 21:22:13 +0200 Subject: [PATCH] Attempt at fixing error on the Chrome Windows FYI bots. It looks like our basictypes.h file in the overrides folder is including the file it is overriding due to include path precedence (Chrome's is lower than WebRTCs). TBR=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/51909004 Cr-Commit-Position: refs/heads/master@{#9280} --- webrtc/overrides/webrtc/base/basictypes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webrtc/overrides/webrtc/base/basictypes.h b/webrtc/overrides/webrtc/base/basictypes.h index e75b8c82b5..0851b48d42 100644 --- a/webrtc/overrides/webrtc/base/basictypes.h +++ b/webrtc/overrides/webrtc/base/basictypes.h @@ -15,8 +15,10 @@ #ifndef OVERRIDES_WEBRTC_BASE_BASICTYPES_H__ #define OVERRIDES_WEBRTC_BASE_BASICTYPES_H__ -#include "base/basictypes.h" -#include "build/build_config.h" +// We can't include these files directly via "base/foo.h" since we might +// inadvertently include the very files we're overriding. +#include "../../../../../base/basictypes.h" +#include "../../../../../build/build_config.h" #ifndef INT_TYPES_DEFINED #define INT_TYPES_DEFINED