From 405f502a07ed696c13a720e5e6af4071be839a21 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 23 Dec 2019 16:26:43 -0500 Subject: Add (GNU/)Linux compatibility Implements a dumb version of readpassphrase that calls getpass and implements funopen in terms of fopencookie. --- imbox.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'imbox.c') diff --git a/imbox.c b/imbox.c index a55b09f..faa7a00 100644 --- a/imbox.c +++ b/imbox.c @@ -14,9 +14,10 @@ * along with this program. If not, see . */ +#include "compat.h" + #include #include -#include #include #include #include @@ -27,6 +28,10 @@ #include #include +#ifndef NO_READPASSPHRASE_H +#include +#endif + #if !defined(DIG_PATH) && !defined(DRILL_PATH) # ifdef __FreeBSD__ # define DRILL_PATH "/usr/bin/drill" -- cgit 1.4.1