summaryrefslogtreecommitdiff
path: root/common/lz.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/lz.h')
-rw-r--r--common/lz.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/common/lz.h b/common/lz.h
index 248ab2a..2393749 100644
--- a/common/lz.h
+++ b/common/lz.h
@@ -6,14 +6,14 @@
#ifndef __LZ_H
#define __LZ_H
+#include <spice/macros.h>
+
#include "lz_common.h"
#include "lz_config.h"
#include "draw.h"
#include "macros.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+SPICE_BEGIN_DECLS
typedef void *LzContext;
@@ -76,8 +76,6 @@ LzContext *lz_create(LzUsrContext *usr);
void lz_destroy(LzContext *lz);
-#ifdef __cplusplus
-}
-#endif
+SPICE_END_DECLS
#endif // __LZ_H