From 261948090e9073514ac4b5f64c8715cf0a71eafa Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 6 Dec 2018 21:28:18 +0100 Subject: build: Move declaration of _GNU_SOURCE back into individual source files --- attrib/att.c | 2 +- attrib/gattrib.c | 2 +- attrib/interactive.c | 3 ++- attrib/utils.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'attrib') diff --git a/attrib/att.c b/attrib/att.c index 826b3c183..c0438a382 100644 --- a/attrib/att.c +++ b/attrib/att.c @@ -23,7 +23,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include diff --git a/attrib/gattrib.c b/attrib/gattrib.c index 2e1e39ac6..57ca01541 100644 --- a/attrib/gattrib.c +++ b/attrib/gattrib.c @@ -23,7 +23,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include diff --git a/attrib/interactive.c b/attrib/interactive.c index 7d4786ac9..9a7976d34 100644 --- a/attrib/interactive.c +++ b/attrib/interactive.c @@ -22,9 +22,10 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif +#define _GNU_SOURCE #include #include #include diff --git a/attrib/utils.c b/attrib/utils.c index 8e2fc1a42..a74902959 100644 --- a/attrib/utils.c +++ b/attrib/utils.c @@ -22,7 +22,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include -- cgit v1.2.1