From 6130d4602d12399492200028e76f117b3d9466e9 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 8 Aug 2011 11:24:03 +0200 Subject: add C++ guards to backtrace.h Without these, spice_backtrace() can't be used from the C++ client code. --- common/backtrace.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common') diff --git a/common/backtrace.h b/common/backtrace.h index 21b6b67..8fcbb78 100644 --- a/common/backtrace.h +++ b/common/backtrace.h @@ -19,10 +19,16 @@ #ifndef BACKTRACE_H #define BACKTRACE_H +#include + +SPICE_BEGIN_DECLS + #ifdef WIN32 #define spice_backtrace() #else void spice_backtrace(void); #endif +SPICE_END_DECLS + #endif // BACKTRACE_H -- cgit