]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Don't define immediate_mode if we won't be using it.
authorGuy Harris <[email protected]>
Wed, 4 Apr 2018 20:15:23 +0000 (13:15 -0700)
committerGuy Harris <[email protected]>
Wed, 4 Apr 2018 20:15:23 +0000 (13:15 -0700)
tcpdump.c

index 638ba596e8656770d8e0f8b4ca90ecfdea581da5..7d6d509913fd3f27086856c708d79a992e97739d 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -192,7 +192,9 @@ static int Uflag;                   /* "unbuffered" output of dump files */
 static int Wflag;                      /* recycle output files after this number of files */
 static int WflagChars;
 static char *zflag = NULL;             /* compress each savefile using a specified command (like gzip or bzip2) */
+#ifdef HAVE_PCAP_SET_IMMEDIATE_MODE
 static int immediate_mode;
+#endif
 
 static int infodelay;
 static int infoprint;