diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-02-06 22:18:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-02-06 22:18:15 +0000 |
commit | 3b088c63d73d69ac071ab5144386093126e7ac1c (patch) | |
tree | 95adce7de5d077eb2c52f800d772deb9cf7c38fb /capture.c | |
parent | d83f7865ff3dc92b50620655e0624736c11898c6 (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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |