Update how we detect if libc5 is in use.
 -Erik
diff --git a/libbb/daemon.c b/libbb/daemon.c
index 55a776c..6d4169e 100644
--- a/libbb/daemon.c
+++ b/libbb/daemon.c
@@ -32,9 +32,7 @@
 #include <unistd.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__
+#if __GNU_LIBRARY__ < 5
 
 int daemon( int nochdir, int noclose )
 {