Minor, cleanup/coding-style
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
5fce3001ed
commit
64257d689d
@ -38,7 +38,8 @@ AM_CFLAGS += -Wno-unused-result -Wno-unused-parameter -fno-strict-ali
|
|||||||
AM_CPPFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DRUNSTATEDIR=\"@runstatedir@\"
|
AM_CPPFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DRUNSTATEDIR=\"@runstatedir@\"
|
||||||
AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
||||||
|
|
||||||
syslogd_SOURCES = syslogd.c syslogd.h socket.c socket.h syslog.h timer.c timer.h queue.h compat.h
|
syslogd_SOURCES = syslogd.c syslogd.h socket.c socket.h syslog.h
|
||||||
|
syslogd_SOURCES += timer.c timer.h queue.h compat.h
|
||||||
syslogd_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600
|
syslogd_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600
|
||||||
syslogd_LDADD = $(LIBS) $(LIBOBJS)
|
syslogd_LDADD = $(LIBS) $(LIBOBJS)
|
||||||
|
|
||||||
|
@ -56,8 +56,8 @@ typedef pthread_mutex_t mutex_t;
|
|||||||
#define mutex_unlock(m) pthread_mutex_unlock(m)
|
#define mutex_unlock(m) pthread_mutex_unlock(m)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BSD have sa_len, Linux/GNU doesn't */
|
/* BSD have sa_len, Linux/GNU doesn't, added with 4.3-Reno */
|
||||||
#if defined(_AIX) || (defined(BSD) && (BSD >= 199006)) /* sa_len was added with 4.3-Reno */
|
#if defined(_AIX) || (defined(BSD) && (BSD >= 199006))
|
||||||
#define HAVE_SA_LEN
|
#define HAVE_SA_LEN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user