Elukey has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/404456 )
Change subject: Define IOV_MAX properly, using _GNU_SOURCE ...................................................................... Define IOV_MAX properly, using _GNU_SOURCE Undo the hack previously done by defining __need_IOV_MAX, that is apparently not working anymore in current distributions. Instead, include limits.h, and define _GNU_SOURCE at the beginning as those definitions are only included via some XOPEN_SOURCE variant. Change-Id: I550c612a71c6c615c54c3b6c9c8bae91db1ad99b --- M output.c 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Elukey: Verified; Looks good to me, approved diff --git a/output.c b/output.c index 32e3543..53798cc 100644 --- a/output.c +++ b/output.c @@ -26,7 +26,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#define __need_IOV_MAX +#define _GNU_SOURCE #include "kafkatee.h" #include "queue.h" @@ -43,6 +43,7 @@ #include <assert.h> #include <sys/socket.h> #include <signal.h> +#include <limits.h> static LIST_HEAD(, output_s) outputs; /* Sorted in sample-rate order */ -- To view, visit https://gerrit.wikimedia.org/r/404456 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I550c612a71c6c615c54c3b6c9c8bae91db1ad99b Gerrit-PatchSet: 1 Gerrit-Project: analytics/kafkatee Gerrit-Branch: master Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org> Gerrit-Reviewer: Elukey <ltosc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits