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.
This commit is contained in:
nekral-guest committed 2008-01-26 17:41:20 +00:00
1 parent 28a9441f4f
commit ae99674e9b
6 files changed
+23 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "prototypes.h"
#include "defines.h"