From: Daniel Stenberg Date: Tue, 3 Feb 2015 06:57:54 +0000 (+0100) Subject: getpass: protect include with proper #ifdef X-Git-Tag: curl-7_41_0~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91a7bc992007e6407c1f997a64f1a5b80d5b7ff;p=thirdparty%2Fcurl.git getpass: protect include with proper #ifdef Reported-by: Tamir --- diff --git a/src/tool_getpass.c b/src/tool_getpass.c index 34e0e6f5b5..4036d7ed3a 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