From 5389b3714be747f1a11ac51beb0c5988cfb6c240 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 26 May 2014 23:36:58 +0200 Subject: Don't use macro _XOPEN_SOURCE for function strptime We detect all necessary feature macros in configure script using AC_USE_SYSTEM_EXTENSIONS or AC_GNU_SOURCE. This patch replaces all definitions of macro _XOPEN_SOURCE with header file config.h Reviewed-by: Jakub Hrozek --- src/db/sysdb_sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/sysdb_sudo.c') diff --git a/src/db/sysdb_sudo.c b/src/db/sysdb_sudo.c index 003b5709c..261ed82d6 100644 --- a/src/db/sysdb_sudo.c +++ b/src/db/sysdb_sudo.c @@ -18,7 +18,7 @@ along with this program. If not, see . */ -#define _XOPEN_SOURCE +#include "config.h" #include #include -- cgit