summaryrefslogtreecommitdiff
path: root/libpcsxcore/decode_xa.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/decode_xa.h')
-rw-r--r--libpcsxcore/decode_xa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/decode_xa.h b/libpcsxcore/decode_xa.h
index bdf1f843..a5994e12 100644
--- a/libpcsxcore/decode_xa.h
+++ b/libpcsxcore/decode_xa.h
@@ -20,6 +20,10 @@
#ifndef __DECODE_XA_H__
#define __DECODE_XA_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "psxcommon.h"
typedef struct {
@@ -39,4 +43,7 @@ s32 xa_decode_sector( xa_decode_t *xdp,
unsigned char *sectorp,
int is_first_sector );
+#ifdef __cplusplus
+}
+#endif
#endif