/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#pragma once
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
#include <folly/portability/Config.h>
+#if !defined(_WIN32)
+#include <strings.h>
+#endif
+
#if !FOLLY_HAVE_MEMRCHR
extern "C" void* memrchr(const void* s, int c, size_t n);
#endif