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