Make the windows build compile.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Aug 2009 05:17:14 +0000 (05:17 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 28 Aug 2009 05:17:14 +0000 (05:17 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29591 f5534014-38df-0310-8fa8-9805f1628bb7

dumpcap.c

index e32191fba2c975d6e04ab42a740eca4949c3da13..82c921b083516b56f319a12369c60d0b4683a942 100644 (file)
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -1068,7 +1068,9 @@ cap_pipe_open_live(char *pipename, struct pcap_hdr *hdr, loop_data *ld,
 
   ld->cap_pipe_state = STATE_EXPECT_REC_HDR;
   ld->cap_pipe_err = PIPOK;
+#ifndef _WIN32
   ld->cap_pipe_fd = fd;
+#endif
   return;
 
 error: