Commit 14c1d806 authored by Andrew Krieger's avatar Andrew Krieger Committed by Facebook Github Bot

Include <strings.h> in portability/String.h

Summary:
portabilty/String.h defines functions for Windows which
are provided by <strings.h> on other platforms, but doesn't include
<strings.h> in that case.

Reviewed By: Orvid

Differential Revision: D4908770

fbshipit-source-id: b3326f78509c2aa1acb9c9279f01537b0a243400
parent c31d639e
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
#include <folly/portability/Config.h> #include <folly/portability/Config.h>
#if !defined(_WIN32)
#include <strings.h>
#endif
#if !FOLLY_HAVE_MEMRCHR #if !FOLLY_HAVE_MEMRCHR
extern "C" void* memrchr(const void* s, int c, size_t n); extern "C" void* memrchr(const void* s, int c, size_t n);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment