]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nss: Drop needless include of rpc/types.h
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Sep 2020 12:30:42 +0000 (14:30 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Sep 2020 08:28:10 +0000 (10:28 +0200)
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 <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/wireshark/src/packet-libvirt.c

index 89dd18080ea3e538fb5f9e94e75532a00947e82f..9f3c7f650d76879e7c4492b155c1da5d2f964099 100644 (file)
@@ -22,9 +22,6 @@
 #include <wireshark/epan/proto.h>
 #include <wireshark/epan/packet.h>
 #include <wireshark/epan/dissectors/packet-tcp.h>
-#ifdef HAVE_RPC_TYPES_H
-# include <rpc/types.h>
-#endif
 #include <rpc/xdr.h>
 #include "packet-libvirt.h"
 #include "internal.h"