From 14c1d806143613b2203609531054d1244c277dcc Mon Sep 17 00:00:00 2001 From: Andrew Krieger Date: Tue, 18 Apr 2017 18:01:23 -0700 Subject: [PATCH] Include in portability/String.h Summary: portabilty/String.h defines functions for Windows which are provided by on other platforms, but doesn't include in that case. Reviewed By: Orvid Differential Revision: D4908770 fbshipit-source-id: b3326f78509c2aa1acb9c9279f01537b0a243400 --- folly/portability/String.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/portability/String.h b/folly/portability/String.h index c1b35d46..fc7e85a3 100755 --- a/folly/portability/String.h +++ b/folly/portability/String.h @@ -21,6 +21,10 @@ #include +#if !defined(_WIN32) +#include +#endif + #if !FOLLY_HAVE_MEMRCHR extern "C" void* memrchr(const void* s, int c, size_t n); #endif -- 2.34.1