diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2020-04-22 15:36:25 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2020-05-01 21:28:27 +0000 |
commit | d5fc969e578a1e3a3eccb03b1586cbadd58107a5 (patch) | |
tree | 2bc32880062592e12c0cd015745769a7dcfc3753 /epan/dissectors/packet-knxip.c | |
parent | f35865428b3a14d8aac47db78e2f59c5b1f1df53 (diff) |
No explicit glib.h include required
Stop including glib.h in dissectors, this will come in implicitly with
packet.h including proto.h, an essential include file for dissectors.
While at it, config.h is no longer conditional and stdio.h is usually
not needed either. Some other cleanups too.
Change-Id: I60c12f16d7ef1e6398509293031ffed7460d2c61
Reviewed-on: https://code.wireshark.org/review/36969
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-knxip.c')
-rw-r--r-- | epan/dissectors/packet-knxip.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/epan/dissectors/packet-knxip.c b/epan/dissectors/packet-knxip.c index d91f7aa8a3..1e31529408 100644 --- a/epan/dissectors/packet-knxip.c +++ b/epan/dissectors/packet-knxip.c @@ -17,9 +17,21 @@ * * for the specifications. */ -#include "packet-knxip.h" + +#include <stdlib.h> +#include <string.h> + +#include <epan/packet.h> +#include <epan/expert.h> +#include <epan/proto.h> +#include <epan/ipproto.h> +#include <epan/prefs.h> +#include <epan/tvbuff.h> #include <epan/strutil.h> +#include "packet-knxip.h" +#include "packet-knxip_decrypt.h" + #define ECDH_PUBLIC_VALUE_SIZE 32 /* The following service families are defined for the |