mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 07:33:11 +00:00
PPP, most PPP headers are using u_long, u_int, u_short and u_char types, moved typedef of those types before we include any PPP header
This commit is contained in:
parent
b49584457a
commit
08dd32d32d
@ -48,7 +48,6 @@
|
|||||||
#include "lwip/ip6_addr.h"
|
#include "lwip/ip6_addr.h"
|
||||||
#endif /* PPP_IPV6_SUPPORT */
|
#endif /* PPP_IPV6_SUPPORT */
|
||||||
|
|
||||||
#include "vj.h"
|
|
||||||
|
|
||||||
|
|
||||||
/*************************
|
/*************************
|
||||||
@ -117,6 +116,14 @@
|
|||||||
*/
|
*/
|
||||||
typedef struct ppp_pcb_s ppp_pcb;
|
typedef struct ppp_pcb_s ppp_pcb;
|
||||||
|
|
||||||
|
/* Type definitions for BSD code. */
|
||||||
|
#ifndef __u_char_defined
|
||||||
|
typedef unsigned long u_long;
|
||||||
|
typedef unsigned int u_int;
|
||||||
|
typedef unsigned short u_short;
|
||||||
|
typedef unsigned char u_char;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "fsm.h"
|
#include "fsm.h"
|
||||||
#include "lcp.h"
|
#include "lcp.h"
|
||||||
#include "ipcp.h"
|
#include "ipcp.h"
|
||||||
@ -132,6 +139,9 @@ typedef struct ppp_pcb_s ppp_pcb;
|
|||||||
#if EAP_SUPPORT
|
#if EAP_SUPPORT
|
||||||
#include "eap.h"
|
#include "eap.h"
|
||||||
#endif /* EAP_SUPPORT */
|
#endif /* EAP_SUPPORT */
|
||||||
|
#if VJ_SUPPORT
|
||||||
|
#include "vj.h"
|
||||||
|
#endif /* VJ_SUPPORT */
|
||||||
|
|
||||||
#if PPPOE_SUPPORT
|
#if PPPOE_SUPPORT
|
||||||
#include "netif/ppp/pppoe.h"
|
#include "netif/ppp/pppoe.h"
|
||||||
|
@ -47,14 +47,6 @@
|
|||||||
#include "lwip/timers.h"
|
#include "lwip/timers.h"
|
||||||
#include "lwip/sio.h"
|
#include "lwip/sio.h"
|
||||||
|
|
||||||
/* Type definitions for BSD code. */
|
|
||||||
#ifndef __u_char_defined
|
|
||||||
typedef unsigned long u_long;
|
|
||||||
typedef unsigned int u_int;
|
|
||||||
typedef unsigned short u_short;
|
|
||||||
typedef unsigned char u_char;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "ppp.h"
|
#include "ppp.h"
|
||||||
#include "pppdebug.h"
|
#include "pppdebug.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user