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 <j@w1.fi>
@@ -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;