]> git.armaanb.net Git - opendoas.git/blobdiff - shadow.c
remove unused pam.d file
[opendoas.git] / shadow.c
index de53cea411d26598844f0fd40a4bb99f4830997a..27053d3a5ac5aae941867b6409910ee5dcfc9d2f 100644 (file)
--- a/shadow.c
+++ b/shadow.c
 #include <errno.h>
 #include <limits.h>
 #include <pwd.h>
-#ifdef HAVE_READPASSPHRASE_H
+#ifdef HAVE_READPASSPHRASE
 #      include <readpassphrase.h>
 #else
-#      include "readpassphrase.h"
+#      include "sys-readpassphrase.h"
 #endif
 #include <shadow.h>
 #include <stdio.h>
@@ -35,6 +35,7 @@
 #include <unistd.h>
 
 #include "openbsd.h"
+#include "doas.h"
 
 #ifndef HOST_NAME_MAX
 #define HOST_NAME_MAX _POSIX_HOST_NAME_MAX