pkgsrc/devel/librdkafka/patches/patch-src_rd.h
fhajny b7ba5bf1fb * Use bash for CONFIG_SHELL
* Fix build on NetBSD
* Uses python to build
* Enable tests
2017-04-24 12:20:37 +00:00

15 lines
302 B
C

$NetBSD: patch-src_rd.h,v 1.1 2017/04/24 12:20:37 fhajny Exp $
Unlock IOV_MAX on NetBSD and other guards.
--- src/rd.h.orig 2017-04-12 08:36:34.000000000 +0000
+++ src/rd.h
@@ -40,6 +40,8 @@
#endif
#endif
+#define _XOPEN_SOURCE 600
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>