Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / boringssl / src / crypto / mem.c
index 1eb97c9..11ef335 100644 (file)
@@ -53,8 +53,8 @@
  * copied and put under another distribution licence
  * [including the GNU Public Licence.] */
 
-#if !defined(_BSD_SOURCE)
-#define _BSD_SOURCE /* needed for strdup, snprintf, vprintf etc */
+#if !defined(_POSIX_C_SOURCE)
+#define _POSIX_C_SOURCE 201410L  /* needed for strdup, snprintf, vprintf etc */
 #endif
 
 #include <openssl/mem.h>
@@ -66,6 +66,8 @@
 
 #if defined(OPENSSL_WINDOWS)
 #include <Windows.h>
+#else
+#include <strings.h>
 #endif