From f91a7bc992007e6407c1f997a64f1a5b80d5b7ff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Feb 2015 07:57:54 +0100 Subject: getpass: protect include with proper #ifdef Reported-by: Tamir --- src/tool_getpass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tool_getpass.c b/src/tool_getpass.c index 34e0e6f5b..4036d7ed3 100644 --- a/src/tool_getpass.c +++ b/src/tool_getpass.c @@ -52,7 +52,9 @@ # endif #endif +#ifdef HAVE_UNISTD_H #include +#endif #define _MPRINTF_REPLACE #include -- cgit v1.2.3