mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-16 11:46:40 +08:00
#if LWIP_DHCP fix.
This commit is contained in:
parent
13386978a1
commit
95ac72a0f2
@ -67,20 +67,20 @@
|
|||||||
* to remove the DHCP client.
|
* to remove the DHCP client.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifdef LWIP_DHCP /* don't build if not configured for use in lwipopt.h */
|
|
||||||
|
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
#include "lwip/mem.h"
|
#include "lwip/mem.h"
|
||||||
#include "lwip/udp.h"
|
#include "lwip/udp.h"
|
||||||
|
#include "lwip/ip_addr.h"
|
||||||
#include "lwip/netif.h"
|
#include "lwip/netif.h"
|
||||||
#include "lwip/inet.h"
|
#include "lwip/inet.h"
|
||||||
#include "lwip/ip_addr.h"
|
|
||||||
#include "netif/etharp.h"
|
#include "netif/etharp.h"
|
||||||
|
|
||||||
#include "lwip/sys.h"
|
#include "lwip/sys.h"
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#include "lwip/dhcp.h"
|
#include "lwip/dhcp.h"
|
||||||
|
|
||||||
|
#if LWIP_DHCP /* don't build if not configured for use in lwipopt.h */
|
||||||
|
|
||||||
/** global transaction identifier, must be
|
/** global transaction identifier, must be
|
||||||
* unique for each DHCP request. */
|
* unique for each DHCP request. */
|
||||||
static u32_t xid = 0xABCD0000;
|
static u32_t xid = 0xABCD0000;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user