diff options
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -42,12 +42,10 @@ | |||
42 | #include <sys/param.h> | 42 | #include <sys/param.h> |
43 | #include <linux/unistd.h> | 43 | #include <linux/unistd.h> |
44 | 44 | ||
45 | #ifndef socklen_t | ||
46 | typedef unsigned int socklen_t; | ||
47 | #endif | ||
48 | |||
49 | #if __GNU_LIBRARY__ < 5 | 45 | #if __GNU_LIBRARY__ < 5 |
50 | 46 | ||
47 | typedef unsigned int socklen_t; | ||
48 | |||
51 | #ifndef __alpha__ | 49 | #ifndef __alpha__ |
52 | # define __NR_klogctl __NR_syslog | 50 | # define __NR_klogctl __NR_syslog |
53 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | 51 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); |