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