[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] DHCP.h need to include "lwip/prot/dhcp.h" ?
From: |
antonio |
Subject: |
[lwip-users] DHCP.h need to include "lwip/prot/dhcp.h" ? |
Date: |
Fri, 8 Sep 2017 06:48:47 -0700 (MST) |
Dear All,
I found a small problem, while porting lwip from 1.4.1 to 2.0.2.
I have an application that requires including dhcp.h, however, since the
DHCP state messages are in prot/dhcp.h
I got a compile error..
" error: 'DHCP_STATE_BOUND' undeclared (first use in this function)
if (new_state == DHCP_STATE_BOUND) {"
when I included "lwip/prot/dhcp.h" the error was gone..
Maybe in the main repository, dhcp.h needs to include "lwip/prot/dhcp" ...
thanks in advance..
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
- [lwip-users] DHCP.h need to include "lwip/prot/dhcp.h" ?,
antonio <=