mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Fix bug #5848: add #if PAP_SUPPORT around the whole file pap.h
This commit is contained in:
parent
11a4f5538b
commit
f8aa14d402
@ -53,6 +53,8 @@
|
|||||||
#ifndef PAP_H
|
#ifndef PAP_H
|
||||||
#define PAP_H
|
#define PAP_H
|
||||||
|
|
||||||
|
#if PAP_SUPPORT > 0
|
||||||
|
|
||||||
/*************************
|
/*************************
|
||||||
*** PUBLIC DEFINITIONS ***
|
*** PUBLIC DEFINITIONS ***
|
||||||
*************************/
|
*************************/
|
||||||
@ -125,5 +127,6 @@ void upap_authpeer (int);
|
|||||||
|
|
||||||
extern struct protent pap_protent;
|
extern struct protent pap_protent;
|
||||||
|
|
||||||
#endif /* PAP_H */
|
#endif /* PAP_SUPPORT */
|
||||||
|
|
||||||
|
#endif /* PAP_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user