diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-02-10 07:16:08 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-02-13 23:51:53 +0000 |
commit | 2e85975feee4304ebc3e47c3b03653094b839b6c (patch) | |
tree | 49e3d4ba3ff3b04108621ea37d0b0e91e5598f76 /epan/dissectors/packet-aeron.c | |
parent | d55f176a2472077eaad9315d525696d24b571e05 (diff) | |
download | wireshark-2e85975feee4304ebc3e47c3b03653094b839b6c.tar.gz |
Just #include wsutil/inet_aton.h
No need for platform-specific system header boilerplate.
Change-Id: I5387a0005ddb0d7aab3c5b9f28d6282053c1b0fd
Reviewed-on: https://code.wireshark.org/review/13865
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dissectors/packet-aeron.c')
-rw-r--r-- | epan/dissectors/packet-aeron.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/dissectors/packet-aeron.c b/epan/dissectors/packet-aeron.c index 143a93d018..86fa70bc63 100644 --- a/epan/dissectors/packet-aeron.c +++ b/epan/dissectors/packet-aeron.c @@ -20,12 +20,7 @@ */ #include "config.h" -#ifdef HAVE_ARPA_INET_H - #include <arpa/inet.h> -#endif -#if HAVE_WINSOCK2_H - #include <winsock2.h> -#endif + #include <epan/packet.h> #include <epan/prefs.h> #include <epan/expert.h> @@ -34,9 +29,7 @@ #include <epan/conversation.h> #include <epan/exceptions.h> #include <epan/to_str.h> -#ifndef HAVE_INET_ATON - #include <wsutil/inet_aton.h> -#endif +#include <wsutil/inet_aton.h> #include <wsutil/pint.h> /* The Aeron protocol is defined at https://github.com/real-logic/Aeron/wiki/Protocol-Specification */ |