diff options
author | Adam Tkac <atkac@redhat.com> | 2008-11-14 14:48:21 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-11-14 14:48:21 +0000 |
commit | 20e0d711fdc2cdb2df7f3d4447c27832e982a24b (patch) | |
tree | 6e42638de13bef6d310cd8606aeb5c76d3d69f8a /common/os | |
parent | 247b729032ac7add40daa29a0d981a55e09c4343 (diff) | |
download | tigervnc-20e0d711fdc2cdb2df7f3d4447c27832e982a24b.tar.gz tigervnc-20e0d711fdc2cdb2df7f3d4447c27832e982a24b.zip |
[Refactoring] Improved rdr::Exception constructor. It now accepts variable
number of arguments.
[Bugfix] Minor compilation fixes (missing #includes)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3168 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/os')
-rw-r--r-- | common/os/print.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/os/print.h b/common/os/print.h index 471002cf..a16e6a9f 100644 --- a/common/os/print.h +++ b/common/os/print.h @@ -28,10 +28,19 @@ #endif #include <stdarg.h> +#include <stdio.h> #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifndef HAVE_VSNPRINTF int vsnprintf(char *str, size_t n, const char *format, va_list ap); #endif +#ifdef __cplusplus +}; +#endif + #endif /* OS_PRINT_H */ |