X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fecp.h;fp=pppd%2Fecp.h;h=975d79b876a7c8ca71d72340d717a7e1acb6d5ca;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=5a0df4d1468120fdf53f01ebb74a6c8e76ed43fa;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34;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