Proper handling of getopt.h and PAM.

This commit is contained in:
Roland Illig 2004-08-17 00:48:53 +00:00
parent 8a2b1f0c31
commit a640e5a8e7

View File

@ -55,7 +55,9 @@
#include <sys/wait.h>
#include <errno.h>
#include <signal.h>
#include <getopt.h>
#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
/* Network include files */
#include <sys/socket.h>
@ -72,6 +74,12 @@
# endif
#endif
#if defined(HAVE_PAM)
# if !defined(HAVE_SECURITY_PAM_MISC_H)
# undef HAVE_PAM
# endif
#endif
/* Authentication include files */
#include <pwd.h>
#ifdef HAVE_PAM