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-lbtrm.c | |
parent | d55f176a2472077eaad9315d525696d24b571e05 (diff) |
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-lbtrm.c')
-rw-r--r-- | epan/dissectors/packet-lbtrm.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/dissectors/packet-lbtrm.c b/epan/dissectors/packet-lbtrm.c index 9d4bf35fe3..805ad93b68 100644 --- a/epan/dissectors/packet-lbtrm.c +++ b/epan/dissectors/packet-lbtrm.c @@ -23,12 +23,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> @@ -36,9 +31,7 @@ #include <epan/tap.h> #include <epan/conversation.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> #include "packet-lbm.h" #include "packet-lbtrm.h" |