summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorEric Andersen2000-07-09 06:59:58 +0000
committerEric Andersen2000-07-09 06:59:58 +0000
commit999bf72f49a501e47448010c4ddb06dc03ed1612 (patch)
tree75d6c4187384bc385d59838834bac80f53a077cd /sysklogd
parente9b527ae48cb9609ea0668974de32da523ebd231 (diff)
downloadbusybox-999bf72f49a501e47448010c4ddb06dc03ed1612.zip
busybox-999bf72f49a501e47448010c4ddb06dc03ed1612.tar.gz
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 9ab228f..aa1218f 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -42,7 +42,7 @@
#include <sys/param.h>
#include <linux/unistd.h>
-#if __GNU_LIBRARY__ < 5
+#if ! defined __GLIBC__ && ! defined __UCLIBC__
typedef unsigned int socklen_t;