aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorGennady Feldman <gfeldman@gena01.com>2001-10-26 16:09:09 +0000
committerGennady Feldman <gfeldman@gena01.com>2001-10-26 16:09:09 +0000
commit087bc82bb0eabf8dedb8b35c85ea0294eaae2ce3 (patch)
treeea82edc01b31c57466a552d32418a3e0f94761e7 /sysklogd/syslogd.c
parentee28362597b2846ded3d0f7a3d70cfc411b9314a (diff)
downloadbusybox-087bc82bb0eabf8dedb8b35c85ea0294eaae2ce3.tar.gz
Fix up the configuration rules and update Libc5 piece for Syslogd. (copied code from logread.c)
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index db6401c52..236f1190d 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -81,6 +81,12 @@ static int local_logging = FALSE;
/* circular buffer variables/structures */
#ifdef CONFIG_FEATURE_IPC_SYSLOG
+#if __GNU_LIBRARY__ < 5
+#error Sorry. Looks like you are using libc5.
+#error libc5 shm support isnt good enough.
+#error Please disable CONFIG_FEATURE_IPC_SYSLOG
+#endif
+
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>