summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index d2fbc3d..f4e7f45 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -42,12 +42,10 @@
#include <sys/param.h>
#include <linux/unistd.h>
-#ifndef socklen_t
-typedef unsigned int socklen_t;
-#endif
-
#if __GNU_LIBRARY__ < 5
+typedef unsigned int socklen_t;
+
#ifndef __alpha__
# define __NR_klogctl __NR_syslog
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);