summaryrefslogtreecommitdiff
path: root/vp8/common/header.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/header.h')
-rw-r--r--vp8/common/header.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/header.h b/vp8/common/header.h
index 61a8f49bc..e27bca16b 100644
--- a/vp8/common/header.h
+++ b/vp8/common/header.h
@@ -12,6 +12,10 @@
#ifndef VP8_COMMON_HEADER_H_
#define VP8_COMMON_HEADER_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* 24 bits total */
typedef struct
{
@@ -40,4 +44,8 @@ typedef struct
#endif
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_COMMON_HEADER_H_