Browse Source

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>
Jouni Malinen 13 years ago
parent
commit
da4419c6db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/os_unix.c

+ 1 - 1
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;