From: Jouni Malinen Date: Fri, 18 Nov 2011 19:43:43 +0000 (+0200) Subject: Include list.h after trace.h to avoid offsetof refinition X-Git-Tag: aosp-jb-start~312 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da4419c6db16d38d51767a213f43915cfd8d88a8;p=thirdparty%2Fhostap.git Include list.h after trace.h to avoid offsetof refinition trace.h may end up including system header files that define offsetof, so include the compatibility definition from list.h only after this. Signed-hostap: Jouni Malinen --- diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c index def202bb3..cadcb8d58 100644 --- a/src/utils/os_unix.c +++ b/src/utils/os_unix.c @@ -27,9 +27,9 @@ #ifdef WPA_TRACE #include "common.h" -#include "list.h" #include "wpa_debug.h" #include "trace.h" +#include "list.h" static struct dl_list alloc_list;