From: Nicholas Ormrod Date: Mon, 24 Feb 2014 20:53:47 +0000 (-0800) Subject: Fix FBString's new includes X-Git-Tag: v0.22.0~685 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a88bcd70b7a8a3e485a9fa575d62c12adf0fa95a;p=folly.git 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 --- 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