From 4c1b59c9896d24ba9a6d7cbb9eff0d80fec584c7 Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Thu, 13 Jan 2011 17:39:54 +0000 Subject: Wrap include file in extern "C" { ... } for __cplusplus svn path=/trunk/; revision=35521 --- globals.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'globals.h') diff --git a/globals.h b/globals.h index d920fba1a2..0e6c6bbf82 100644 --- a/globals.h +++ b/globals.h @@ -25,6 +25,10 @@ #ifndef __GLOBALS_H__ #define __GLOBALS_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include "file.h" #include @@ -34,4 +38,8 @@ extern capture_file cfile; extern gboolean auto_scroll_live; #endif -#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __GLOBALS_H__ */ -- cgit v1.2.3