From a8035a51be6ddaf636847cfb1524b1beed0e8d18 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 15 Mar 2001 18:20:23 +0000 Subject: Move the warning msg after features.h gets pulled in. -Erik --- sysklogd/logread.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'sysklogd') diff --git a/sysklogd/logread.c b/sysklogd/logread.c index a89dacc..17f6a54 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c @@ -24,14 +24,6 @@ */ -/* Stupid libc doesn't have a reliable way for use to know - * that libc5 is being used. Assume this is good enough */ -#if ! defined __GLIBC__ || ! defined __UCLIBC__ -#error Sorry. Looks like you are using libc5. -#error libc5 shm support isnt good enough. -#error Please disable BB_FEATURE_IPC_SYSLOG -#endif - #include #include #include @@ -43,6 +35,15 @@ #include #include "busybox.h" +/* Stupid libc doesn't have a reliable way for use to know + * that libc5 is being used. Assume this is good enough */ +#if ! defined __GLIBC__ && ! defined __UCLIBC__ +#error Sorry. Looks like you are using libc5. +#error libc5 shm support isnt good enough. +#error Please disable BB_FEATURE_IPC_SYSLOG +#endif + + static const long KEY_ID = 0x414e4547; /*"GENA"*/ static struct shbuf_ds { -- cgit v1.1