Files
pkgsrc-ng/net/libquic/patches/patch-crypto__lhash__lhash_test.c
2016-11-18 22:39:22 +01:00

17 lines
490 B
C

$NetBSD: patch-crypto__lhash__lhash_test.c,v 1.1 2016/07/01 20:32:35 agc Exp $
NetBSD portability patches
--- boringssl/crypto/lhash/lhash_test.c.orig 2015-12-30 15:55:51.000000000 -0800
+++ boringssl/crypto/lhash/lhash_test.c 2015-12-30 18:06:05.000000000 -0800
@@ -13,7 +13,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L
+# endif
#endif
#include <openssl/crypto.h>