X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=blobdiff_plain;f=libopenbsd%2Freadpassphrase.c;h=87675aa4374a29e5176b82469ba9096f7d0079ef;hp=a283969f38bcbdd1e6b43c37b51556bb714fa648;hb=22b68970dd6a3f5018bbf3e68a5f9e35d5948c2e;hpb=a3264b9072fa61ac1a834445d6b2d80860f58435 diff --git a/libopenbsd/readpassphrase.c b/libopenbsd/readpassphrase.c index a283969..87675aa 100644 --- a/libopenbsd/readpassphrase.c +++ b/libopenbsd/readpassphrase.c @@ -31,10 +31,16 @@ #include #include #include -#include #include #include #include +#include + +#include "sys-readpassphrase.h" + +#ifndef _PATH_TTY +#define _PATH_TTY "/dev/tty" +#endif #ifndef TCSASOFT /* If we don't have TCSASOFT define it so that ORing it it below is a no-op. */