From 59d896ced13ae4f42587ee9204936d6f35682f2f Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 1 Sep 2020 14:30:42 +0200 Subject: [PATCH] nss: Drop needless include of rpc/types.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In packet-libvirt.c in wireshark dissector we include rpc/types.h but guard the include with a condition (that is supposed to be true if we detected during configure phase that the host system has the header file). Thing is, it looks like we were never doing the configure check and thus the file was never included and yet, the NSS plugin works. Drop the include then. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- tools/wireshark/src/packet-libvirt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/wireshark/src/packet-libvirt.c b/tools/wireshark/src/packet-libvirt.c index 89dd18080e..9f3c7f650d 100644 --- a/tools/wireshark/src/packet-libvirt.c +++ b/tools/wireshark/src/packet-libvirt.c @@ -22,9 +22,6 @@ #include #include #include -#ifdef HAVE_RPC_TYPES_H -# include -#endif #include #include "packet-libvirt.h" #include "internal.h"