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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-11-18 21:43:43 +02:00
parent 0c7addc32c
commit da4419c6db

View File

@ -27,9 +27,9 @@
#ifdef WPA_TRACE #ifdef WPA_TRACE
#include "common.h" #include "common.h"
#include "list.h"
#include "wpa_debug.h" #include "wpa_debug.h"
#include "trace.h" #include "trace.h"
#include "list.h"
static struct dl_list alloc_list; static struct dl_list alloc_list;