0dd8ea916b
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16502 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
311 B
Diff
23 lines
311 B
Diff
--- a/cgi.h
|
|
+++ b/cgi.h
|
|
@@ -24,6 +24,10 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif
|
|
+
|
|
typedef struct var_s {
|
|
char *name,
|
|
*value;
|
|
@@ -146,4 +150,8 @@ char *cgiEscape (char *string);
|
|
extern }
|
|
#endif
|
|
|
|
+#ifdef __cplusplus
|
|
+} /* end of extern "C" */
|
|
+#endif
|
|
+
|
|
#endif /* _CGI_H_ */
|