]> git.armaanb.net Git - opendoas.git/blobdiff - shadow.c
libopenbsd: clean up readpassphrase compat and fix ifdefs
[opendoas.git] / shadow.c
index de53cea411d26598844f0fd40a4bb99f4830997a..8489017b167516835bf03d7102bbb4dcdee63996 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>