From d0a91b27f26762e9c998cc5e6fe71767de5d32c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 5 Sep 2017 17:18:00 +0100 Subject: plugins: config.h must not be included by public headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For a sane plugin build environment. Include config.h as the first header in the .c file instead. Fix by moving required compiler attribute macros to a new "ws_attributes.h" API header. Change-Id: I34f58a927f68c1a0e59686c14d214825149749e1 Reviewed-on: https://code.wireshark.org/review/23400 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- epan/asm_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'epan/asm_utils.c') diff --git a/epan/asm_utils.c b/epan/asm_utils.c index e02a737850..62ef49b095 100644 --- a/epan/asm_utils.c +++ b/epan/asm_utils.c @@ -26,6 +26,7 @@ #include #include "asm_utils.h" +#include "ws_attributes.h" /* String comparison func for dfilter_token GTree */ gint -- cgit v1.2.3