summaryrefslogtreecommitdiff
path: root/proto_arp.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_arp.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_arp.c')
-rw-r--r--proto_arp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto_arp.c b/proto_arp.c
index fcbe02b..ba52a0b 100644
--- a/proto_arp.c
+++ b/proto_arp.c
@@ -8,6 +8,7 @@
#include <netinet/in.h> /* for ntohs() */
#include "proto.h"
+#include "protos.h"
#include "lookup.h"
#include "pkt_buff.h"
#include "built_in.h"