summaryrefslogtreecommitdiffstats
path: root/core/picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/picture.h')
-rw-r--r--core/picture.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/picture.h b/core/picture.h
index 93b644d71..6dd6650dd 100644
--- a/core/picture.h
+++ b/core/picture.h
@@ -5,6 +5,10 @@
// picture (more precisely media) related strutures and functions
#include "units.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct picture {
char *filename;
offset_t offset;
@@ -15,4 +19,8 @@ struct picture {
extern struct picture *alloc_picture();
extern void free_picture(struct picture *picture);
+#ifdef __cplusplus
+}
+#endif
+
#endif // PICTURE_H