syslogd/sysklogd-1.4.1-glibc.patch

18 lines
396 B
Diff
Raw Normal View History

New glibc does not know about _BSD_SOURCE anymore
---
syslogd.c | 3 +++
1 file changed, 3 insertions(+)
--- syslogd.c
+++ syslogd.c 2014-09-15 13:04:29.518735502 +0000
@@ -509,6 +509,9 @@ static char sccsid[] __attribute__ ((un
#include <sd-daemon.h>
#endif
+#ifdef _DEFAULT_SOURCE
+#define _BSD_SOURCE
+#endif
#ifndef UTMP_FILE
#ifdef UTMP_FILENAME
#define UTMP_FILE UTMP_FILENAME