Drop define of _SVID_SOURCE, not needed anymore
For compatibility with GLIBC <2.19 we only need to define _BSD_SOURCE, and for compatibility with GLIBC >=2.19 we must defined _DEFAULT_SOURCE. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
		@@ -25,17 +25,16 @@ AM_CFLAGS       += -Wno-unused-result -Wno-unused-parameter
 | 
			
		||||
AM_CFLAGS       += -fomit-frame-pointer -fno-strength-reduce
 | 
			
		||||
 | 
			
		||||
syslogd_SOURCES  = syslogd.c pidfile.c pidfile.h
 | 
			
		||||
syslogd_CPPFLAGS = -DINET6 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE
 | 
			
		||||
syslogd_CPPFLAGS = -DINET6 -D_BSD_SOURCE -D_DEFAULT_SOURCE
 | 
			
		||||
 | 
			
		||||
klogd_SOURCES    = klogd.c klogd.h syslog.c pidfile.c pidfile.h \
 | 
			
		||||
		   ksym.c ksyms.h ksym_mod.c module.h
 | 
			
		||||
klogd_CPPFLAGS   = -DALLOW_KERNEL_LOGGING \
 | 
			
		||||
		   -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE
 | 
			
		||||
klogd_CPPFLAGS   = -DALLOW_KERNEL_LOGGING -D_BSD_SOURCE -D_DEFAULT_SOURCE
 | 
			
		||||
 | 
			
		||||
logger_SOURCES   = logger.c syslog.c
 | 
			
		||||
logger_CPPFLAGS  = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
 | 
			
		||||
 | 
			
		||||
tsyslogd_SOURCES  = syslogd.c pidfile.c pidfile.h
 | 
			
		||||
tsyslogd_CPPFLAGS = -DINET6 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DTESTING
 | 
			
		||||
tsyslogd_CPPFLAGS = -DINET6 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DTESTING
 | 
			
		||||
 | 
			
		||||
syslog_tst_SOURCES = syslog_tst.c
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user