aboutsummaryrefslogtreecommitdiff
path: root/libbb/libc5.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/libc5.c')
-rw-r--r--libbb/libc5.c2
1 files changed, 1 insertions, 1 deletions
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