From 90ae6e1230c8ec337d578f89549512d06db3d043 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 17 Jun 2021 07:12:58 -0700 Subject: sysif: define passwd_s if we have . * sysif.c (passwd_s): Define for either HAVE_PWUID or HAVE_GRGID, since this symbol variable is referenced in code protected by either preprocessor symbol. --- sysif.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysif.c b/sysif.c index 3e482897..f9717ede 100644 --- a/sysif.c +++ b/sysif.c @@ -124,8 +124,12 @@ val atime_s, mtime_s, ctime_s; val atime_nsec_s, mtime_nsec_s, ctime_nsec_s; val path_s, dir_s, dirent_s; +#if HAVE_PWUID || HAVE_GRGID +val passwd_s; +#endif + #if HAVE_PWUID -val passwd_s, gecos_s, shell_s; +val gecos_s, shell_s; #endif #if HAVE_GRGID -- cgit v1.2.3