Wireshark-commits: [Wireshark-commits] rev 26535: /trunk/ /trunk/epan/dissectors/: packet-dcom.c pa

Date: Fri, 24 Oct 2008 00:42:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=26535

User: wmeier
Date: 2008/10/23 05:42 PM

Log:
 Windows build: #include winsock2.h only when needed.
 #include winsock2.h pulls in about 90 distinct .h files
 and about 140 total .h files. 
 Currently winsock2.h is (mostly unnecessarily) included
 for each dissector via packet.h/wtap.h.
 This patch removes #include winsock2.h from wtap.h and 
 then includes winsock2.h (or windows.h) in the 
 few specific places required. 
 With this patch, my Windows Wireshark build takes 
 about 30% less time.

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +4 -0      packet-dcom.c         Modified
  +4 -0      packet-dtls.c         Modified
  +5 -0      packet-frame.c        Modified
  +0 -8      packet-ieee80211.c    Modified
  +3 -0      packet-ssl.c          Modified

Directory: /trunk/gtk/
  Changes    Path                              Action
  +9 -8      capture_if_details_dlg_win32.c    Modified
  +6 -5      file_dlg_win32.c                  Modified
  +3 -0      gui_utils.c                       Modified
  +3 -1      mcast_stream.c                    Modified
  +4 -0      sctp_stat.h                       Modified


(5 files not shown)