|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #9072] Add missing include for lwip/sys.h |
Date: | Mon, 8 Aug 2016 08:45:07 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 |
Follow-up Comment #4, patch #9072 (project lwip): Hi, After moving the define of LWIP_RAND() to arch/cc.h. I still got the build worning without this patch. In arch/cc.h: #define LWIP_RAND() sys_rand16() In FreeRTOS/sys_arch.c: the implementation of sys_rand16() In FreeRTOS/arch/sys_arch.h: Declare sys_rand16() To avoid the build warning I need to include arch/sys_arch.h. arch/sys_arch.h is included by lwip/sys.h. >From the code I don't find other users to include arch/sys_arch.h directly, thus include lwip/sys.h. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9072> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |