aboutsummaryrefslogtreecommitdiff
path: root/src/tool_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_main.c')
-rw-r--r--src/tool_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index cf2d862b2..cdf87ea3c 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -27,6 +27,10 @@
#include <signal.h>
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
@@ -45,10 +49,6 @@
*/
#include "memdebug.h" /* keep this as LAST include */
-#ifdef __VMS
-static int vms_show = 0;
-#endif
-
/*
* Ensure that file descriptors 0, 1 and 2 (stdin, stdout, stderr) are
* open before starting to run. Otherwise, the first three network