]> andersk Git - openssh.git/blobdiff - openbsd-compat/xcrypt.c
- (dtucker) [defines.h] Remove now-undeeded PRIu64 define.
[openssh.git] / openbsd-compat / xcrypt.c
index 9afa0b9f268a77966e3437e3d097b1d83c6c52b6..6291e2884c5c266478ff1a5733b8bedb1260eeab 100644 (file)
 
 #include "includes.h"
 
-# ifdef HAVE_CRYPT_H
+#include <sys/types.h>
+#include <unistd.h>
+#include <pwd.h>
+
+# if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE)
 #  include <crypt.h>
 # endif
 
@@ -94,7 +98,7 @@ shadow_pw(struct passwd *pw)
                pw_password = spw->sp_pwdp;
 # endif
 
-#if defined(HAVE_LIBIAF)  &&  !defined(BROKEN_LIBIAF)
+#ifdef USE_LIBIAF
        return(get_iaf_password(pw));
 #endif
 
This page took 0.035234 seconds and 4 git commands to generate.