Fix kcheckpass segfaults in non-PAM systems. This resolves bug 2854.

Signed-off-by: Darrell Anderson <darrella@clovermail.net>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/308/head
Darrell Anderson 2 years ago committed by Michele Calgaro
parent 914277ddec
commit ba7c5fa56a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -34,6 +34,7 @@
#include <string.h>
#include <stdlib.h>
#include <pwd.h>
#include <crypt.h>
#ifndef __hpux
#include <shadow.h>

Loading…
Cancel
Save