]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Include list.h after trace.h to avoid offsetof refinition
authorJouni Malinen <j@w1.fi>
Fri, 18 Nov 2011 19:43:43 +0000 (21:43 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 18 Nov 2011 19:43:43 +0000 (21:43 +0200)
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>

src/utils/os_unix.c

index def202bb3dc1aa6876636207ead8bb6309e718fb..cadcb8d5824ba844b8ad34d2c0836bd9e16150f0 100644 (file)
@@ -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;