aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-06 22:18:15 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-06 22:18:15 +0000
commit3b088c63d73d69ac071ab5144386093126e7ac1c (patch)
tree95adce7de5d077eb2c52f800d772deb9cf7c38fb /capture.c
parentd83f7865ff3dc92b50620655e0624736c11898c6 (diff)
Include <ctype.h> for "isspace()".
#ifdef a variable used only if _WIN32 is defined. svn path=/trunk/; revision=13324
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index 38242fa2bb..38cf2092a1 100644
--- a/capture.c
+++ b/capture.c
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <string.h>
+#include <ctype.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
@@ -259,8 +260,9 @@ get_ring_arguments(capture_options *capture_opts, const char *arg)
void
capture_opt_add(capture_options *capture_opts, int opt, const char *optarg, gboolean *start_capture)
{
+#ifdef _WIN32
int i;
-
+#endif
switch(opt) {
case 'a': /* autostop criteria */