about summary refs log tree commit diff
path: root/imbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'imbox.c')
-rw-r--r--imbox.c7
1 files changed, 6 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>.
  */
 
+#include "compat.h"
+
 #include <ctype.h>
 #include <err.h>
-#include <readpassphrase.h>
 #include <regex.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -27,6 +28,10 @@
 #include <tls.h>
 #include <unistd.h>
 
+#ifndef NO_READPASSPHRASE_H
+#include <readpassphrase.h>
+#endif
+
 #if !defined(DIG_PATH) && !defined(DRILL_PATH)
 #	ifdef __FreeBSD__
 #		define DRILL_PATH "/usr/bin/drill"