aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-10 07:16:08 +0000
committerJoão Valverde <j@v6e.pt>2016-02-13 23:51:53 +0000
commit2e85975feee4304ebc3e47c3b03653094b839b6c (patch)
tree49e3d4ba3ff3b04108621ea37d0b0e91e5598f76 /epan/addr_resolv.c
parentd55f176a2472077eaad9315d525696d24b571e05 (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/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 0d85637f33..b8b0fe18c2 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -85,10 +85,6 @@
#include <winsock2.h> /* needed to define AF_ values on Windows */
#endif
-#ifndef HAVE_INET_ATON
-# include "wsutil/inet_aton.h"
-#endif
-
#ifdef NEED_INET_V6DEFS_H
# include "wsutil/inet_v6defs.h"
#endif
@@ -125,6 +121,7 @@
#include <wsutil/report_err.h>
#include <wsutil/file_util.h>
#include <wsutil/pint.h>
+#include "wsutil/inet_aton.h"
#include <epan/strutil.h>
#include <epan/to_str-int.h>