diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-17 07:12:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-17 07:12:58 -0700 |
commit | 90ae6e1230c8ec337d578f89549512d06db3d043 (patch) | |
tree | 3461b338d88ed0643cd1e07e375b493c78ad00df | |
parent | a937b2bb1f550766e96b8b8994d7fdc4580bdf13 (diff) | |
download | txr-90ae6e1230c8ec337d578f89549512d06db3d043.tar.gz txr-90ae6e1230c8ec337d578f89549512d06db3d043.tar.bz2 txr-90ae6e1230c8ec337d578f89549512d06db3d043.zip |
sysif: define passwd_s if we have <grp.h>.
* 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.
-rw-r--r-- | sysif.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |