[package] update libargtable to 2.11 (#5366)
[openwrt/svn-archive/archive.git] / libs / cgilib / patches / 300-cpp_bugfix.patch
1 diff -Nur cgilib-0.5.orig/cgi.h cgilib-0.5/cgi.h
2 --- cgilib-0.5.orig/cgi.h 2008-01-03 18:02:08.000000000 +0100
3 +++ cgilib-0.5/cgi.h 2008-01-03 18:02:31.000000000 +0100
4 @@ -20,6 +20,10 @@
5 #ifndef _CGI_H_
6 #define _CGI_H_
7
8 +#ifdef __cplusplus
9 +extern "C" {
10 +#endif
11 +
12 typedef struct var_s {
13 char *name,
14 *value;
15 @@ -112,4 +116,8 @@
16 */
17 void cgiFree (s_cgi *parms);
18
19 +#ifdef __cplusplus
20 +} /* end of extern "C" */
21 +#endif
22 +
23 #endif /* _CGI_H_ */