summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 701027523e..a931f0a229 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -69,6 +69,8 @@
#endif
#ifdef HAVE_READPASSPHRASE_H
#include <readpassphrase.h>
+#elif !defined(_WIN32)
+#include "readpassphrase.h"
#endif
#ifndef HAVE_GETTIMEOFDAY