aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--summary.c6
-rw-r--r--ui/cli/tap-afpstat.c4
-rw-r--r--ui/cli/tap-ansi_astat.c4
-rw-r--r--ui/cli/tap-camelcounter.c4
-rw-r--r--ui/cli/tap-dcerpcstat.c4
-rw-r--r--ui/cli/tap-expert.c4
-rw-r--r--ui/cli/tap-gsm_astat.c4
-rw-r--r--ui/cli/tap-h225counter.c4
-rw-r--r--ui/cli/tap-h225rassrt.c4
-rw-r--r--ui/cli/tap-hosts.c4
-rw-r--r--ui/cli/tap-icmpv6stat.c4
-rw-r--r--ui/cli/tap-mgcpstat.c4
-rw-r--r--ui/cli/tap-protocolinfo.c4
-rw-r--r--ui/cli/tap-protohierstat.c4
-rw-r--r--ui/cli/tap-radiusstat.c4
-rw-r--r--ui/cli/tap-sctpchunkstat.c4
-rw-r--r--ui/cli/tap-sipstat.c4
-rw-r--r--ui/cli/tap-sv.c4
-rw-r--r--ui/cli/tap-wspstat.c4
-rw-r--r--ui/gtk/afp_stat.c4
-rw-r--r--ui/gtk/camel_counter.c3
-rw-r--r--ui/gtk/camel_srt.c4
-rw-r--r--ui/gtk/capture_dlg.c4
-rw-r--r--ui/gtk/capture_info_dlg.c4
-rw-r--r--ui/gtk/conversations_eth.c4
-rw-r--r--ui/gtk/conversations_fc.c3
-rw-r--r--ui/gtk/conversations_fddi.c3
-rw-r--r--ui/gtk/conversations_ip.c3
-rw-r--r--ui/gtk/conversations_ipv6.c3
-rw-r--r--ui/gtk/conversations_ipx.c3
-rw-r--r--ui/gtk/conversations_jxta.c3
-rw-r--r--ui/gtk/conversations_ncp.c3
-rw-r--r--ui/gtk/conversations_rsvp.c3
-rw-r--r--ui/gtk/conversations_sctp.c3
-rw-r--r--ui/gtk/conversations_tcpip.c3
-rw-r--r--ui/gtk/conversations_tr.c3
-rw-r--r--ui/gtk/conversations_udpip.c3
-rw-r--r--ui/gtk/conversations_usb.c3
-rw-r--r--ui/gtk/conversations_wlan.c3
-rw-r--r--ui/gtk/diameter_stat.c4
-rw-r--r--ui/gtk/dissector_tables_dlg.c3
-rw-r--r--ui/gtk/drag_and_drop.c3
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c3
-rw-r--r--ui/gtk/expert_comp_dlg.c3
-rw-r--r--ui/gtk/fc_stat.c4
-rw-r--r--ui/gtk/funnel_stat.c4
-rw-r--r--ui/gtk/gsm_map_summary.c4
-rw-r--r--ui/gtk/gtp_stat.c4
-rw-r--r--ui/gtk/gui_stat_util.c3
-rw-r--r--ui/gtk/h225_counter.c4
-rw-r--r--ui/gtk/h225_ras_srt.c4
-rw-r--r--ui/gtk/hostlist_eth.c3
-rw-r--r--ui/gtk/hostlist_fc.c3
-rw-r--r--ui/gtk/hostlist_fddi.c3
-rw-r--r--ui/gtk/hostlist_ip.c3
-rw-r--r--ui/gtk/hostlist_ipv6.c3
-rw-r--r--ui/gtk/hostlist_ipx.c3
-rw-r--r--ui/gtk/hostlist_jxta.c3
-rw-r--r--ui/gtk/hostlist_ncp.c3
-rw-r--r--ui/gtk/hostlist_rsvp.c4
-rw-r--r--ui/gtk/hostlist_sctp.c3
-rw-r--r--ui/gtk/hostlist_tcpip.c3
-rw-r--r--ui/gtk/hostlist_tr.c3
-rw-r--r--ui/gtk/hostlist_udpip.c3
-rw-r--r--ui/gtk/hostlist_usb.c3
-rw-r--r--ui/gtk/hostlist_wlan.c3
-rw-r--r--ui/gtk/io_stat.c4
-rw-r--r--ui/gtk/ldap_stat.c4
-rw-r--r--ui/gtk/mac_lte_stat_dlg.c4
-rw-r--r--ui/gtk/main_welcome.c3
-rw-r--r--ui/gtk/manual_addr_resolv.c3
-rw-r--r--ui/gtk/mcast_stream.c4
-rw-r--r--ui/gtk/megaco_stat.c4
-rw-r--r--ui/gtk/mgcp_stat.c4
-rw-r--r--ui/gtk/mtp3_summary.c3
-rw-r--r--ui/gtk/ncp_stat.c4
-rw-r--r--ui/gtk/packet_win.c4
-rw-r--r--ui/gtk/radius_stat.c4
-rw-r--r--ui/gtk/rlc_lte_stat_dlg.c4
-rw-r--r--ui/gtk/rtp_stream.c5
-rw-r--r--ui/gtk/sctp_chunk_stat.c3
-rw-r--r--ui/gtk/smb2_stat.c3
-rw-r--r--ui/gtk/smb_stat.c3
-rw-r--r--ui/gtk/summary_dlg.c3
-rw-r--r--ui/gtk/tap_param_dlg.c4
-rw-r--r--ui/gtk/wlan_stat_dlg.c3
86 files changed, 3 insertions, 302 deletions
diff --git a/summary.c b/summary.c
index 1f92df8e39..844573b8ac 100644
--- a/summary.c
+++ b/summary.c
@@ -26,9 +26,9 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
+//#ifdef HAVE_SYS_TYPES_H
+//#include <sys/types.h>
+//#endif
#include <epan/packet.h>
#include "cfile.h"
diff --git a/ui/cli/tap-afpstat.c b/ui/cli/tap-afpstat.c
index e1960f474d..e89924e077 100644
--- a/ui/cli/tap-afpstat.c
+++ b/ui/cli/tap-afpstat.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <epan/packet_info.h>
#include <epan/tap.h>
diff --git a/ui/cli/tap-ansi_astat.c b/ui/cli/tap-ansi_astat.c
index ee368abb74..8225a964d7 100644
--- a/ui/cli/tap-ansi_astat.c
+++ b/ui/cli/tap-ansi_astat.c
@@ -34,10 +34,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include "epan/value_string.h"
diff --git a/ui/cli/tap-camelcounter.c b/ui/cli/tap-camelcounter.c
index c922f19860..e8ae8649d7 100644
--- a/ui/cli/tap-camelcounter.c
+++ b/ui/cli/tap-camelcounter.c
@@ -31,10 +31,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet.h"
#include "epan/packet_info.h"
diff --git a/ui/cli/tap-dcerpcstat.c b/ui/cli/tap-dcerpcstat.c
index 5fea8fc085..14cebcb41e 100644
--- a/ui/cli/tap-dcerpcstat.c
+++ b/ui/cli/tap-dcerpcstat.c
@@ -28,10 +28,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/cli/tap-expert.c b/ui/cli/tap-expert.c
index c32e93c97d..df9a5f8ec0 100644
--- a/ui/cli/tap-expert.c
+++ b/ui/cli/tap-expert.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <string.h>
#include <epan/packet.h>
#include <epan/packet_info.h>
diff --git a/ui/cli/tap-gsm_astat.c b/ui/cli/tap-gsm_astat.c
index b84e377dfb..e5b9e2cd48 100644
--- a/ui/cli/tap-gsm_astat.c
+++ b/ui/cli/tap-gsm_astat.c
@@ -34,10 +34,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include "epan/value_string.h"
diff --git a/ui/cli/tap-h225counter.c b/ui/cli/tap-h225counter.c
index 6076f1c225..d8baf0d485 100644
--- a/ui/cli/tap-h225counter.c
+++ b/ui/cli/tap-h225counter.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet.h"
#include "epan/packet_info.h"
diff --git a/ui/cli/tap-h225rassrt.c b/ui/cli/tap-h225rassrt.c
index a0c6d8e37e..bc4ad4a33d 100644
--- a/ui/cli/tap-h225rassrt.c
+++ b/ui/cli/tap-h225rassrt.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet.h"
#include "epan/packet_info.h"
diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c
index a840932782..59843359c8 100644
--- a/ui/cli/tap-hosts.c
+++ b/ui/cli/tap-hosts.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "globals.h"
diff --git a/ui/cli/tap-icmpv6stat.c b/ui/cli/tap-icmpv6stat.c
index b2431d0aad..751e8cae89 100644
--- a/ui/cli/tap-icmpv6stat.c
+++ b/ui/cli/tap-icmpv6stat.c
@@ -35,10 +35,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/cli/tap-mgcpstat.c b/ui/cli/tap-mgcpstat.c
index f5b0b1ee79..333d6f9dab 100644
--- a/ui/cli/tap-mgcpstat.c
+++ b/ui/cli/tap-mgcpstat.c
@@ -28,10 +28,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/cli/tap-protocolinfo.c b/ui/cli/tap-protocolinfo.c
index a3f2b37666..ba8475cbfc 100644
--- a/ui/cli/tap-protocolinfo.c
+++ b/ui/cli/tap-protocolinfo.c
@@ -30,10 +30,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/epan_dissect.h"
#include "epan/column-utils.h"
diff --git a/ui/cli/tap-protohierstat.c b/ui/cli/tap-protohierstat.c
index 89eac20d1c..c79a626ce9 100644
--- a/ui/cli/tap-protohierstat.c
+++ b/ui/cli/tap-protohierstat.c
@@ -30,10 +30,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include "epan/epan_dissect.h"
diff --git a/ui/cli/tap-radiusstat.c b/ui/cli/tap-radiusstat.c
index dd44e87c24..0e197e51c6 100644
--- a/ui/cli/tap-radiusstat.c
+++ b/ui/cli/tap-radiusstat.c
@@ -28,10 +28,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c
index fcb8285240..d83d83c24d 100644
--- a/ui/cli/tap-sctpchunkstat.c
+++ b/ui/cli/tap-sctpchunkstat.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include "epan/addr_resolv.h"
diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c
index b8273219ba..102f37470e 100644
--- a/ui/cli/tap-sipstat.c
+++ b/ui/cli/tap-sipstat.c
@@ -29,10 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/cli/tap-sv.c b/ui/cli/tap-sv.c
index db3f84f8f8..318efb36c4 100644
--- a/ui/cli/tap-sv.c
+++ b/ui/cli/tap-sv.c
@@ -30,10 +30,6 @@
#include <stdio.h>
#include <stdlib.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <epan/packet_info.h>
#include <epan/tap.h>
diff --git a/ui/cli/tap-wspstat.c b/ui/cli/tap-wspstat.c
index 40bce6cefc..4cc9101757 100644
--- a/ui/cli/tap-wspstat.c
+++ b/ui/cli/tap-wspstat.c
@@ -33,10 +33,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
diff --git a/ui/gtk/afp_stat.c b/ui/gtk/afp_stat.c
index 1b9fbd5f37..d177a1f8c7 100644
--- a/ui/gtk/afp_stat.c
+++ b/ui/gtk/afp_stat.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/camel_counter.c b/ui/gtk/camel_counter.c
index d169f9db59..a2bf30f5ff 100644
--- a/ui/gtk/camel_counter.c
+++ b/ui/gtk/camel_counter.c
@@ -27,9 +27,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/camel_srt.c b/ui/gtk/camel_srt.c
index 2006f11a0e..eaa4b85435 100644
--- a/ui/gtk/camel_srt.c
+++ b/ui/gtk/camel_srt.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c
index ad4d7034fe..c9b21748ba 100644
--- a/ui/gtk/capture_dlg.c
+++ b/ui/gtk/capture_dlg.c
@@ -28,10 +28,6 @@
#ifdef HAVE_LIBPCAP
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <string.h>
#include <stdio.h>
diff --git a/ui/gtk/capture_info_dlg.c b/ui/gtk/capture_info_dlg.c
index d99724fc51..d4549b7869 100644
--- a/ui/gtk/capture_info_dlg.c
+++ b/ui/gtk/capture_info_dlg.c
@@ -28,10 +28,6 @@
#ifdef HAVE_LIBPCAP
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <time.h>
diff --git a/ui/gtk/conversations_eth.c b/ui/gtk/conversations_eth.c
index 336578d2f0..4c4dd2c4a5 100644
--- a/ui/gtk/conversations_eth.c
+++ b/ui/gtk/conversations_eth.c
@@ -26,10 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_fc.c b/ui/gtk/conversations_fc.c
index f1e0b3c58f..f8e0ec6997 100644
--- a/ui/gtk/conversations_fc.c
+++ b/ui/gtk/conversations_fc.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_fddi.c b/ui/gtk/conversations_fddi.c
index fcd721b6a1..4df9e3d238 100644
--- a/ui/gtk/conversations_fddi.c
+++ b/ui/gtk/conversations_fddi.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_ip.c b/ui/gtk/conversations_ip.c
index d77fb5c6a8..2815c74e7b 100644
--- a/ui/gtk/conversations_ip.c
+++ b/ui/gtk/conversations_ip.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_ipv6.c b/ui/gtk/conversations_ipv6.c
index 83e9585e42..f5fb8ad705 100644
--- a/ui/gtk/conversations_ipv6.c
+++ b/ui/gtk/conversations_ipv6.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_ipx.c b/ui/gtk/conversations_ipx.c
index 481e5a6d48..ff29ac79a8 100644
--- a/ui/gtk/conversations_ipx.c
+++ b/ui/gtk/conversations_ipx.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_jxta.c b/ui/gtk/conversations_jxta.c
index e56ac0e118..60bb201cf7 100644
--- a/ui/gtk/conversations_jxta.c
+++ b/ui/gtk/conversations_jxta.c
@@ -27,9 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_ncp.c b/ui/gtk/conversations_ncp.c
index 058da489ab..0222daf59b 100644
--- a/ui/gtk/conversations_ncp.c
+++ b/ui/gtk/conversations_ncp.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_rsvp.c b/ui/gtk/conversations_rsvp.c
index a5ddf2b3c8..7e03c60e62 100644
--- a/ui/gtk/conversations_rsvp.c
+++ b/ui/gtk/conversations_rsvp.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_sctp.c b/ui/gtk/conversations_sctp.c
index e7c5379ea5..d26069e15e 100644
--- a/ui/gtk/conversations_sctp.c
+++ b/ui/gtk/conversations_sctp.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_tcpip.c b/ui/gtk/conversations_tcpip.c
index ce5f02b65a..8f0af74cb5 100644
--- a/ui/gtk/conversations_tcpip.c
+++ b/ui/gtk/conversations_tcpip.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_tr.c b/ui/gtk/conversations_tr.c
index 13f8306872..15ef86492d 100644
--- a/ui/gtk/conversations_tr.c
+++ b/ui/gtk/conversations_tr.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_udpip.c b/ui/gtk/conversations_udpip.c
index 34360c0376..b2fa88ddda 100644
--- a/ui/gtk/conversations_udpip.c
+++ b/ui/gtk/conversations_udpip.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_usb.c b/ui/gtk/conversations_usb.c
index 2bd4af3c5a..de072bf946 100644
--- a/ui/gtk/conversations_usb.c
+++ b/ui/gtk/conversations_usb.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/conversations_wlan.c b/ui/gtk/conversations_wlan.c
index b4579cfbe1..6e03b7ac6a 100644
--- a/ui/gtk/conversations_wlan.c
+++ b/ui/gtk/conversations_wlan.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/diameter_stat.c b/ui/gtk/diameter_stat.c
index 03febb3ad4..2890de18d0 100644
--- a/ui/gtk/diameter_stat.c
+++ b/ui/gtk/diameter_stat.c
@@ -29,10 +29,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/dissector_tables_dlg.c b/ui/gtk/dissector_tables_dlg.c
index 1e81a8a485..7fe4783cc2 100644
--- a/ui/gtk/dissector_tables_dlg.c
+++ b/ui/gtk/dissector_tables_dlg.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <glib.h>
diff --git a/ui/gtk/drag_and_drop.c b/ui/gtk/drag_and_drop.c
index a9237cf2c9..5db1be8a34 100644
--- a/ui/gtk/drag_and_drop.c
+++ b/ui/gtk/drag_and_drop.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <stdio.h>
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
index 7641e25b74..bbd611af4b 100644
--- a/ui/gtk/edit_packet_comment_dlg.c
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -27,9 +27,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/expert_comp_dlg.c b/ui/gtk/expert_comp_dlg.c
index e596fdba80..00a0041eff 100644
--- a/ui/gtk/expert_comp_dlg.c
+++ b/ui/gtk/expert_comp_dlg.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/fc_stat.c b/ui/gtk/fc_stat.c
index 3d0b321943..97ba070260 100644
--- a/ui/gtk/fc_stat.c
+++ b/ui/gtk/fc_stat.c
@@ -26,10 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/funnel_stat.c b/ui/gtk/funnel_stat.c
index 538e854b7c..80abf99084 100644
--- a/ui/gtk/funnel_stat.c
+++ b/ui/gtk/funnel_stat.c
@@ -40,10 +40,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <stdio.h>
#include <string.h>
diff --git a/ui/gtk/gsm_map_summary.c b/ui/gtk/gsm_map_summary.c
index 940f4e9fa2..535ef007ae 100644
--- a/ui/gtk/gsm_map_summary.c
+++ b/ui/gtk/gsm_map_summary.c
@@ -31,10 +31,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <gtk/gtk.h>
#include <wiretap/wtap.h>
diff --git a/ui/gtk/gtp_stat.c b/ui/gtk/gtp_stat.c
index 357b369b0e..c603b1693a 100644
--- a/ui/gtk/gtp_stat.c
+++ b/ui/gtk/gtp_stat.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/gui_stat_util.c b/ui/gtk/gui_stat_util.c
index db94cbf79d..c13637ad59 100644
--- a/ui/gtk/gui_stat_util.c
+++ b/ui/gtk/gui_stat_util.c
@@ -29,9 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/h225_counter.c b/ui/gtk/h225_counter.c
index b8651d415a..92445ed42b 100644
--- a/ui/gtk/h225_counter.c
+++ b/ui/gtk/h225_counter.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/h225_ras_srt.c b/ui/gtk/h225_ras_srt.c
index 64c34dee0c..66592b9ec8 100644
--- a/ui/gtk/h225_ras_srt.c
+++ b/ui/gtk/h225_ras_srt.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_eth.c b/ui/gtk/hostlist_eth.c
index 9bc195e449..28222c0f89 100644
--- a/ui/gtk/hostlist_eth.c
+++ b/ui/gtk/hostlist_eth.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_fc.c b/ui/gtk/hostlist_fc.c
index f60bf91063..f91733ffa3 100644
--- a/ui/gtk/hostlist_fc.c
+++ b/ui/gtk/hostlist_fc.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_fddi.c b/ui/gtk/hostlist_fddi.c
index 6a01134d7f..a0e2a1c37c 100644
--- a/ui/gtk/hostlist_fddi.c
+++ b/ui/gtk/hostlist_fddi.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_ip.c b/ui/gtk/hostlist_ip.c
index 7d7ac874df..98a788eaad 100644
--- a/ui/gtk/hostlist_ip.c
+++ b/ui/gtk/hostlist_ip.c
@@ -28,9 +28,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_ipv6.c b/ui/gtk/hostlist_ipv6.c
index fe0991999c..e20746bd7a 100644
--- a/ui/gtk/hostlist_ipv6.c
+++ b/ui/gtk/hostlist_ipv6.c
@@ -29,9 +29,6 @@
#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_ipx.c b/ui/gtk/hostlist_ipx.c
index 802c055ac2..71a37e7c25 100644
--- a/ui/gtk/hostlist_ipx.c
+++ b/ui/gtk/hostlist_ipx.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_jxta.c b/ui/gtk/hostlist_jxta.c
index 95c0f517c8..9dc9158ea8 100644
--- a/ui/gtk/hostlist_jxta.c
+++ b/ui/gtk/hostlist_jxta.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_ncp.c b/ui/gtk/hostlist_ncp.c
index 2a03d780d3..1f9cd71703 100644
--- a/ui/gtk/hostlist_ncp.c
+++ b/ui/gtk/hostlist_ncp.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_rsvp.c b/ui/gtk/hostlist_rsvp.c
index ccbe88cb37..6c4629f53b 100644
--- a/ui/gtk/hostlist_rsvp.c
+++ b/ui/gtk/hostlist_rsvp.c
@@ -29,10 +29,6 @@
#include <stdio.h>
#include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <gtk/gtk.h>
#include "epan/packet.h"
diff --git a/ui/gtk/hostlist_sctp.c b/ui/gtk/hostlist_sctp.c
index 132e831a93..c6231b719b 100644
--- a/ui/gtk/hostlist_sctp.c
+++ b/ui/gtk/hostlist_sctp.c
@@ -25,9 +25,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_tcpip.c b/ui/gtk/hostlist_tcpip.c
index e7aec10e9a..ba8537b28e 100644
--- a/ui/gtk/hostlist_tcpip.c
+++ b/ui/gtk/hostlist_tcpip.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_tr.c b/ui/gtk/hostlist_tr.c
index a9ce34a13d..4ba5dfbbbf 100644
--- a/ui/gtk/hostlist_tr.c
+++ b/ui/gtk/hostlist_tr.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_udpip.c b/ui/gtk/hostlist_udpip.c
index 4d88452bf6..ee83ae6010 100644
--- a/ui/gtk/hostlist_udpip.c
+++ b/ui/gtk/hostlist_udpip.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_usb.c b/ui/gtk/hostlist_usb.c
index 873cea941e..ccc385c182 100644
--- a/ui/gtk/hostlist_usb.c
+++ b/ui/gtk/hostlist_usb.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/hostlist_wlan.c b/ui/gtk/hostlist_wlan.c
index d3b5f99a81..a4da958da4 100644
--- a/ui/gtk/hostlist_wlan.c
+++ b/ui/gtk/hostlist_wlan.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/io_stat.c b/ui/gtk/io_stat.c
index d590e98107..7b2ee8e2cf 100644
--- a/ui/gtk/io_stat.c
+++ b/ui/gtk/io_stat.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <stdio.h>
#include <string.h>
#include <math.h>
diff --git a/ui/gtk/ldap_stat.c b/ui/gtk/ldap_stat.c
index 8d17238314..efb99a0d18 100644
--- a/ui/gtk/ldap_stat.c
+++ b/ui/gtk/ldap_stat.c
@@ -26,10 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/mac_lte_stat_dlg.c b/ui/gtk/mac_lte_stat_dlg.c
index 971a489d63..318358d340 100644
--- a/ui/gtk/mac_lte_stat_dlg.c
+++ b/ui/gtk/mac_lte_stat_dlg.c
@@ -28,10 +28,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index 22198917bc..836750c085 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -25,9 +25,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <time.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/manual_addr_resolv.c b/ui/gtk/manual_addr_resolv.c
index 3d7eb1763c..0472c9ab6f 100644
--- a/ui/gtk/manual_addr_resolv.c
+++ b/ui/gtk/manual_addr_resolv.c
@@ -27,9 +27,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/mcast_stream.c b/ui/gtk/mcast_stream.c
index 61b67b19bc..1e5ca4a85e 100644
--- a/ui/gtk/mcast_stream.c
+++ b/ui/gtk/mcast_stream.c
@@ -36,10 +36,6 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <glib.h>
#include <stdio.h>
diff --git a/ui/gtk/megaco_stat.c b/ui/gtk/megaco_stat.c
index 9d8a1637f2..4c59795b52 100644
--- a/ui/gtk/megaco_stat.c
+++ b/ui/gtk/megaco_stat.c
@@ -29,10 +29,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/mgcp_stat.c b/ui/gtk/mgcp_stat.c
index 462848e0da..00da5a50d3 100644
--- a/ui/gtk/mgcp_stat.c
+++ b/ui/gtk/mgcp_stat.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/mtp3_summary.c b/ui/gtk/mtp3_summary.c
index 95cf293f3f..e9bd3f06b9 100644
--- a/ui/gtk/mtp3_summary.c
+++ b/ui/gtk/mtp3_summary.c
@@ -31,9 +31,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/ncp_stat.c b/ui/gtk/ncp_stat.c
index 3d582f2eb0..af81678614 100644
--- a/ui/gtk/ncp_stat.c
+++ b/ui/gtk/ncp_stat.c
@@ -26,10 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/packet_win.c b/ui/gtk/packet_win.c
index 03d9705809..93d896a970 100644
--- a/ui/gtk/packet_win.c
+++ b/ui/gtk/packet_win.c
@@ -35,10 +35,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION(3,0,0)
diff --git a/ui/gtk/radius_stat.c b/ui/gtk/radius_stat.c
index e7b47f018d..0c377b351c 100644
--- a/ui/gtk/radius_stat.c
+++ b/ui/gtk/radius_stat.c
@@ -27,10 +27,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/rlc_lte_stat_dlg.c b/ui/gtk/rlc_lte_stat_dlg.c
index bb1e6d8148..2972305312 100644
--- a/ui/gtk/rlc_lte_stat_dlg.c
+++ b/ui/gtk/rlc_lte_stat_dlg.c
@@ -31,10 +31,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/rtp_stream.c b/ui/gtk/rtp_stream.c
index 5498e0d68d..7950779091 100644
--- a/ui/gtk/rtp_stream.c
+++ b/ui/gtk/rtp_stream.c
@@ -36,11 +36,6 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-
#include <epan/epan.h>
#include <epan/packet.h>
#include <epan/tap.h>
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c
index b5cca831f0..542017b4f8 100644
--- a/ui/gtk/sctp_chunk_stat.c
+++ b/ui/gtk/sctp_chunk_stat.c
@@ -29,9 +29,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/smb2_stat.c b/ui/gtk/smb2_stat.c
index f8e7a6532a..6c491cd2b1 100644
--- a/ui/gtk/smb2_stat.c
+++ b/ui/gtk/smb2_stat.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/smb_stat.c b/ui/gtk/smb_stat.c
index f9e0845198..a7ceb37ef2 100644
--- a/ui/gtk/smb_stat.c
+++ b/ui/gtk/smb_stat.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>
diff --git a/ui/gtk/summary_dlg.c b/ui/gtk/summary_dlg.c
index 07c27300e2..690eee669c 100644
--- a/ui/gtk/summary_dlg.c
+++ b/ui/gtk/summary_dlg.c
@@ -26,9 +26,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <time.h>
diff --git a/ui/gtk/tap_param_dlg.c b/ui/gtk/tap_param_dlg.c
index 139f1424ac..d8da0d3e90 100644
--- a/ui/gtk/tap_param_dlg.c
+++ b/ui/gtk/tap_param_dlg.c
@@ -30,10 +30,6 @@
#include <stdio.h>
#include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <gtk/gtk.h>
#include <epan/stat_cmd_args.h>
diff --git a/ui/gtk/wlan_stat_dlg.c b/ui/gtk/wlan_stat_dlg.c
index 2c82124315..777fb4fe9d 100644
--- a/ui/gtk/wlan_stat_dlg.c
+++ b/ui/gtk/wlan_stat_dlg.c
@@ -27,9 +27,6 @@
#include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#include <string.h>
#include <gtk/gtk.h>