summaryrefslogtreecommitdiffstats
path: root/kcheckpass
diff options
context:
space:
mode:
authorDarrell Anderson <darrella@clovermail.net>2023-01-30 10:03:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-30 10:03:32 +0900
commitba7c5fa56a12b4105ca2f6cb958d3358e00f7f31 (patch)
treebe17c379c76334e9a5bb3e28d614b34a5a699fd5 /kcheckpass
parent914277ddec9e0db430f4c70d47b309c439d26b2c (diff)
downloadtdebase-ba7c5fa56a12b4105ca2f6cb958d3358e00f7f31.tar.gz
tdebase-ba7c5fa56a12b4105ca2f6cb958d3358e00f7f31.zip
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>
Diffstat (limited to 'kcheckpass')
-rw-r--r--kcheckpass/checkpass_shadow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kcheckpass/checkpass_shadow.c b/kcheckpass/checkpass_shadow.c
index ec3a4e02a..850bf06d4 100644
--- a/kcheckpass/checkpass_shadow.c
+++ b/kcheckpass/checkpass_shadow.c
@@ -34,6 +34,7 @@
#include <string.h>
#include <stdlib.h>
#include <pwd.h>
+#include <crypt.h>
#ifndef __hpux
#include <shadow.h>