pkgsrc-wip/boringssl/patches/patch-crypto__mem.c

17 lines
458 B
C

$NetBSD: patch-crypto__mem.c,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/mem.c.orig 2015-12-30 15:55:51.000000000 -0800
+++ crypto/mem.c 2015-12-30 18:06:05.000000000 -0800
@@ -55,7 +55,9 @@
* [including the GNU Public Licence.] */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L /* needed for strdup, snprintf, vprintf etc */
+# endif
#endif
#include <openssl/mem.h>