# HG changeset patch # User jld # Date 1280734510 0 # Node ID 0ee78d0821abb7873b1844398604e7d5e6e5360a # Parent 0c51e5cb890af372db7e8f855b66423257ab6fa7 * include/network.h: Match braces when including from C++ code. Issue reported by Will Wagner. diff --git a/packages/net/lwip_tcpip/current/ChangeLog b/packages/net/lwip_tcpip/current/ChangeLog --- a/packages/net/lwip_tcpip/current/ChangeLog +++ b/packages/net/lwip_tcpip/current/ChangeLog @@ -1,3 +1,8 @@ +2010-08-02 John Dallaway + + * include/network.h: Match braces when including from C++ code. + Issue reported by Will Wagner. + 2010-02-07 John Dallaway * cdl/lwip_net.cdl: Rename CFLAGS_ADD and CFLAGS_REMOVE options to diff --git a/packages/net/lwip_tcpip/current/include/network.h b/packages/net/lwip_tcpip/current/include/network.h --- a/packages/net/lwip_tcpip/current/include/network.h +++ b/packages/net/lwip_tcpip/current/include/network.h @@ -57,5 +57,9 @@ extern "C" { #endif #include + +#ifdef __cplusplus +} +#endif #endif // #ifndef CYGONCE_NETWORK_H