From 1d1d3b59af50c40efcc74f9c3f37b446a921e83e Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 17 Jun 2015 18:19:23 +0800 Subject: build: ignore pam_rhosts if neither ruserok nor ruserok_af is available. * configure.ac: check for ruserok and ruserok_af * modules/Makefile.am: ignore pam_rhosts/ if it's disabled * modules/pam_rhosts/pam_rhosts.c: include stdlib.h for malloc and free Signed-off-by: Yousong Zhou --- modules/pam_rhosts/pam_rhosts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/pam_rhosts') diff --git a/modules/pam_rhosts/pam_rhosts.c b/modules/pam_rhosts/pam_rhosts.c index ed98d630..60c9e854 100644 --- a/modules/pam_rhosts/pam_rhosts.c +++ b/modules/pam_rhosts/pam_rhosts.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #define PAM_SM_AUTH /* only defines this management group */ -- cgit v1.2.3