فهرست منبع

hopefully fix building unit tests on linux/clang

goldsimon 9 سال پیش
والد
کامیت
aa129f35a2
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      test/unit/arch/sys_arch.c

+ 3 - 1
test/unit/arch/sys_arch.c

@@ -33,6 +33,9 @@
 
 
 #include <lwip/opt.h>
 #include <lwip/opt.h>
 #include <lwip/arch.h>
 #include <lwip/arch.h>
+#if !NO_SYS
+#include "sys_arch.h"
+#endif
 #include <lwip/stats.h>
 #include <lwip/stats.h>
 #include <lwip/debug.h>
 #include <lwip/debug.h>
 #include <lwip/sys.h>
 #include <lwip/sys.h>
@@ -54,7 +57,6 @@ void sys_init(void)
 }
 }
 
 
 #if !NO_SYS
 #if !NO_SYS
-#include "sys_arch.h"
 
 
 test_sys_arch_waiting_fn the_waiting_fn;
 test_sys_arch_waiting_fn the_waiting_fn;