summaryrefslogtreecommitdiff
path: root/coreutils/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/id.c')
-rw-r--r--coreutils/id.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index a75c226..6ddb236 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -17,6 +17,14 @@
#include "libbb.h"
+#if !ENABLE_USE_BB_PWD_GRP
+#if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0)
+#if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30)
+#error "Sorry, you need at least uClibc version 0.9.30 for id applet to build"
+#endif
+#endif
+#endif
+
enum {
PRINT_REAL = (1 << 0),
NAME_NOT_NUMBER = (1 << 1),