]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include ipproto.h to make sure IPPROTO_PIM is defined.
authorGuy Harris <[email protected]>
Thu, 17 Sep 2015 08:48:36 +0000 (01:48 -0700)
committerGuy Harris <[email protected]>
Thu, 17 Sep 2015 08:48:49 +0000 (01:48 -0700)
We use it, but it's not necessarily defined by OS headers; make sure
it's defined, by including our header.

print-pim.c

index f023207d613603d819a6d1a3ac793e4f02785e3c..46398152611ececdc7c0f4c28e1d618c185511d2 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "ip.h"
 #include "ip6.h"
+#include "ipproto.h"
 
 #define PIMV1_TYPE_QUERY           0
 #define PIMV1_TYPE_REGISTER        1