diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-02-03 07:57:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-02-03 07:57:54 +0100 |
commit | f91a7bc992007e6407c1f997a64f1a5b80d5b7ff (patch) | |
tree | 7a5e4235774dc5907792370655028cb35821f94b /src | |
parent | 859a82a85cc0a1ea6dff496b3542beda0b06f933 (diff) |
getpass: protect include with proper #ifdef
Reported-by: Tamir
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_getpass.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <unistd.h> +#endif #define _MPRINTF_REPLACE #include <curl/mprintf.h> |