From 938e982c4d482019f8d30fc9d446d509309505cd Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Tue, 13 Aug 2002 09:57:44 +0000
Subject: Try to be a bit more dietlibc friendly

---
 libbb/libc5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libbb/libc5.c b/libbb/libc5.c
index af15d1ac7..d595fe30a 100644
--- a/libbb/libc5.c
+++ b/libbb/libc5.c
@@ -9,7 +9,7 @@
 #include <unistd.h>
 
 
-#if __GNU_LIBRARY__ < 5
+#ifndef __dietlibc__ &&  __GNU_LIBRARY__ < 5
 
 /*
  * Some systems already have updwtmp().  Some don't...  This is
-- 
cgit v1.2.3-55-g6feb