]> granicus.if.org Git - shadow/commit
Fix build failures with --disable-shadowgrp. Thanks to Jürgen
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 26 Jan 2008 17:41:20 +0000 (17:41 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 26 Jan 2008 17:41:20 +0000 (17:41 +0000)
commitae99674e9b54dc15d000f99cd9fab30560b7317e
treebd262789e5b03fe6c7ff526a9fcfedf97dfe677b
parent28a9441f4f9f37511e14f0e31afa856a7a292d11
Fix build failures with --disable-shadowgrp. Thanks to Jürgen
Daubert for the patch.
* libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
  functions.
* lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
  printf functions
* src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
* src/chgpasswd.c: Only check is the gshadow file exists if
  SHADOWGRP is defined.
ChangeLog
lib/encrypt.c
lib/groupio.c
libmisc/salt.c
src/chgpasswd.c
src/usermod.c