From a88bcd70b7a8a3e485a9fa575d62c12adf0fa95a Mon Sep 17 00:00:00 2001 From: Nicholas Ormrod Date: Mon, 24 Feb 2014 12:53:47 -0800 Subject: [PATCH] Fix FBString's new includes Summary: The headers were being included but not used when _LIBSTDCXX_FBSTRING is defined. They have been relocated to within the appropiate header block. Test Plan: fbconfig -r folly && fbmake runtests_opt copy FBString and Malloc into libgcc, then tp2_build libgcc/4.8.1/gcc-4.8.1-glibc-2.17-fb Reviewed By: pgriess@fb.com FB internal diff: D1187345 --- folly/FBString.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/folly/FBString.h b/folly/FBString.h index d67c075d..7a1aa8b0 100644 --- a/folly/FBString.h +++ b/folly/FBString.h @@ -73,11 +73,6 @@ #include #endif -#ifdef _GLIBCXX_SYMVER -#include -#include -#endif - #ifdef _LIBSTDCXX_FBSTRING #pragma GCC system_header @@ -102,6 +97,11 @@ #include "folly/Malloc.h" #include "folly/Hash.h" +#ifdef _GLIBCXX_SYMVER +#include +#include +#endif + #endif // We defined these here rather than including Likely.h to avoid -- 2.34.1