s3:pam_smbpass change includes
authorChristian Ambach <ambi@samba.org>
Fri, 22 Nov 2013 04:13:56 +0000 (05:13 +0100)
committerChristian Ambach <ambi@samba.org>
Sat, 7 Dec 2013 15:45:15 +0000 (16:45 +0100)
use the ones from libreplace instead of system ones

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
source3/pam_smbpass/general.h

index 6e13f8d936164b7bb54f21f056badd28bffadb4c..c3e4b8bade7cd78ce4833ca7c513944db7d91e2e 100644 (file)
 #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
 #endif
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <syslog.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
+#include "replace.h"
+#include "system/filesys.h"
+#include "system/wait.h"
+#include "system/syslog.h"
 
 /*
  * here is the string to inform the user that the new passwords they