X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fecp.h;h=975d79b876a7c8ca71d72340d717a7e1acb6d5ca;hb=59342ab622a96393d25d3a2f0592c8675e771295;hp=5a0df4d1468120fdf53f01ebb74a6c8e76ed43fa;hpb=c0d579b8423ef278c204b6db60615c88eea9c870;p=ppp.git diff --git a/pppd/ecp.h b/pppd/ecp.h index 5a0df4d..975d79b 100644 --- a/pppd/ecp.h +++ b/pppd/ecp.h @@ -35,6 +35,10 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + #ifndef PPP_ECP #define PPP_ECP 0x8053 #endif @@ -53,4 +57,8 @@ extern ecp_options ecp_hisoptions[]; extern struct protent ecp_protent; +#ifdef __cplusplus +} #endif + +#endif // PPP_ECP_H