From f8aa14d4021e5482ed9548f6453d16c614876159 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 4 Apr 2007 19:21:27 +0000 Subject: [PATCH] Fix bug #5848: add #if PAP_SUPPORT around the whole file pap.h --- src/netif/ppp/pap.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/netif/ppp/pap.h b/src/netif/ppp/pap.h index 215c8a4f..d8d43284 100644 --- a/src/netif/ppp/pap.h +++ b/src/netif/ppp/pap.h @@ -53,6 +53,8 @@ #ifndef PAP_H #define PAP_H +#if PAP_SUPPORT > 0 + /************************* *** PUBLIC DEFINITIONS *** *************************/ @@ -125,5 +127,6 @@ void upap_authpeer (int); extern struct protent pap_protent; -#endif /* PAP_H */ +#endif /* PAP_SUPPORT */ +#endif /* PAP_H */