summaryrefslogtreecommitdiff
path: root/proto_icmpv4.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-08-15 16:19:33 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-08-15 16:19:33 +0200
commit9e031cbba84383c1948abdfe141cd7ecc1ab37f9 (patch)
treecf1ff031331f15315e7bd44a68583cda5a2cc94d /proto_icmpv4.c
parente1b4e7c88fdd8dbb64dae7b9a14d2c13e3751015 (diff)
dissectors: Include protos.h in some dissectors for protocol ops declaration
Fixes sparse warnings like the following in some dissectors: proto_arp.c:158:17: warning: symbol 'arp_ops' was not declared. Should it be static? Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_icmpv4.c')
-rw-r--r--proto_icmpv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_icmpv4.c b/proto_icmpv4.c
index 5ef074d..55dd1b7 100644
--- a/proto_icmpv4.c
+++ b/proto_icmpv4.c
@@ -9,6 +9,7 @@
#include <netinet/in.h> /* for ntohs() */
#include "proto.h"
+#include "protos.h"
#include "csum.h"
#include "pkt_buff.h"
#include "built_in.h"