You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/ndoutils/files/ndoutils-2.0.0-asprintf.patch

17 lines
438 B

This is a fix for the QA warnings that result from using asprintf()
without defining it. That happens because asprintf() is a GNU
extension, but somehow gets used before _GNU_SOURCE is defined.
Upstream-Bug: https://github.com/NagiosEnterprises/ndoutils/issues/43
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -9,6 +9,7 @@
#ifndef _CONFIG_H
#define _CONFIG_H
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>