blob: 21cf837ba36d18ed0eba0c7ecf9c65c206ab71c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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>
|