]> git.armaanb.net Git - opendoas.git/blobdiff - pam.c
libopenbsd: clean up readpassphrase compat and fix ifdefs
[opendoas.git] / pam.c
diff --git a/pam.c b/pam.c
index ee02b0faab8fa43d7c48e28d2f9cf569e9d2b82f..b921069b195a8a4d89b714f07d264bcc50cfb4d5 100644 (file)
--- a/pam.c
+++ b/pam.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 <signal.h>
 #include <stdio.h>