Skip to content

Commit

Permalink
getpass: protect include with proper #ifdef
Browse files Browse the repository at this point in the history
Reported-by: Tamir
  • Loading branch information
bagder committed Feb 3, 2015
1 parent 859a82a commit f91a7bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tool_getpass.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
# endif
#endif

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define _MPRINTF_REPLACE
#include <curl/mprintf.h>

Expand Down

0 comments on commit f91a7bc

Please sign in to comment.