aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-02 20:01:12 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-03 04:01:39 +0000
commit8363733e303be2ac1c34c76c85b5c1b705c747fc (patch)
treeaeb29d500d20990e52490d98ffd916d6c6c0bde5 /epan/to_str.h
parentd4f7f21b51532c1a45a43764fa92cd55e17931de (diff)
If you want struct e_in6_addr, include <epan/ipv6-utils.h>.
Don't just define it yourself. (And especially don't define it yourself if you're already including epan/ipv6-utils.h.) Change-Id: I9970d0edecef0c820b2a7fdce34509b54e7b3106 Reviewed-on: https://code.wireshark.org/review/13020 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 52f96cf4da..801bc9f11c 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -28,6 +28,7 @@
#include "wsutil/nstime.h"
#include "time_fmt.h"
#include <epan/packet_info.h>
+#include <epan/ipv6-utils.h>
#include "ws_symbol_export.h"
#include "wmem/wmem.h"
@@ -49,8 +50,6 @@ extern "C" {
* but for which no more specific module applies.
*/
-struct e_in6_addr;
-
WS_DLL_PUBLIC gchar* address_to_str(wmem_allocator_t *scope, const address *addr);
WS_DLL_PUBLIC gchar* address_with_resolution_to_str(wmem_allocator_t *scope, const address *addr);
WS_DLL_PUBLIC gchar* tvb_address_with_resolution_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, int type, const gint offset);