aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logread.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-14 01:15:06 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-14 01:15:06 +0000
commitc319601db5296e9d26c7ce0738c4507b51958dda (patch)
treeefcad9b20e7e88077ddf7d59315eeef3ca8459c9 /sysklogd/logread.c
parent4e7244e6b2b8b941f6d2b03d2ca9cc2afbb5258e (diff)
downloadbusybox-w32-c319601db5296e9d26c7ce0738c4507b51958dda.tar.gz
busybox-w32-c319601db5296e9d26c7ce0738c4507b51958dda.tar.bz2
busybox-w32-c319601db5296e9d26c7ce0738c4507b51958dda.zip
Some updates for libc5
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r--sysklogd/logread.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 66054e601..85c1e2456 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -23,6 +23,15 @@
23 * 23 *
24 */ 24 */
25 25
26
27/* Stupid libc doesn't have a reliable way for use to know
28 * that libc5 is being used. Assume this is good enough */
29#if defined __GLIBC__ || defined __UCLIBC__
30#error Sorry. Looks like you are using libc5.
31#error libc5 shm support isn't good enough.
32#error Please disable BB_FEATURE_IPC_SYSLOG
33#endif
34
26#include <stdio.h> 35#include <stdio.h>
27#include <stdlib.h> 36#include <stdlib.h>
28#include <string.h> 37#include <string.h>
@@ -134,4 +143,3 @@ static void error_exit(const char *str){
134 143
135 exit(1); 144 exit(1);
136} 145}
137