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 | 0d7ea2f190c05cc53ac0d91c919d56c39e0f3b5c (patch) | |
tree | 3461b338d88ed0643cd1e07e375b493c78ad00df | |
parent | 13bfbb1f928ecda0611bdf5f17b96875ca82d425 (diff) | |
download | txr-0d7ea2f190c05cc53ac0d91c919d56c39e0f3b5c.tar.gz txr-0d7ea2f190c05cc53ac0d91c919d56c39e0f3b5c.tar.bz2 txr-0d7ea2f190c05cc53ac0d91c919d56c39e0f3b5c.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 |