From 072313162870e9675c3e6f346a804a324a907f93 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 17 Dec 2020 11:22:44 +0100 Subject: Fixes for Hurd build Signed-off-by: Denys Vlasenko --- libbb/die_if_bad_username.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbb') diff --git a/libbb/die_if_bad_username.c b/libbb/die_if_bad_username.c index e5e1160c4..d05dc74c5 100644 --- a/libbb/die_if_bad_username.c +++ b/libbb/die_if_bad_username.c @@ -8,6 +8,10 @@ */ #include "libbb.h" +#ifndef LOGIN_NAME_MAX +#define LOGIN_NAME_MAX 256 +#endif + /* To avoid problems, the username should consist only of * letters, digits, underscores, periods, at signs and dashes, * and not start with a dash (as defined by IEEE Std 1003.1-2001). -- cgit v1.2.3