changeset 2963:0ee78d0821ab

* include/network.h: Match braces when including from C++ code. Issue reported by Will Wagner.
author jld
date Mon, 02 Aug 2010 07:35:10 +0000
parents 0c51e5cb890a
children 2713c1ff33ac
files packages/net/lwip_tcpip/current/ChangeLog packages/net/lwip_tcpip/current/include/network.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/lwip_tcpip/current/ChangeLog
+++ b/packages/net/lwip_tcpip/current/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-02  John Dallaway  <john@dallaway.org.uk>
+
+	* include/network.h: Match braces when including from C++ code.
+	Issue reported by Will Wagner.
+
 2010-02-07  John Dallaway  <john@dallaway.org.uk>
 
 	* cdl/lwip_net.cdl: Rename CFLAGS_ADD and CFLAGS_REMOVE options to
--- 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 <lwip.h>
+
+#ifdef __cplusplus
+}
+#endif
     
 #endif // #ifndef CYGONCE_NETWORK_H