From 0603849891b5df568e3158cd56047e088b7b349d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 27 Oct 2019 21:27:30 +0100 Subject: [PATCH] syslogd need _XOPEN_SOURCE for strptime() Signed-off-by: Joachim Nilsson --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 613a5a2..142d5aa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,7 +26,7 @@ AM_CFLAGS += -Wno-unused-result -Wno-unused-parameter AM_CFLAGS += -fno-strict-aliasing -fno-strength-reduce syslogd_SOURCES = syslogd.c pidfile.c pidfile.h -syslogd_CPPFLAGS = -D_BSD_SOURCE -D_DEFAULT_SOURCE +syslogd_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE syslogd_LDADD = $(LIBS) $(LIBOBJS) klogd_SOURCES = klogd.c klogd.h syslog.c pidfile.c pidfile.h \