summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libdlo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libdlo.h b/src/libdlo.h
index 9713a00..f6b5f0a 100644
--- a/src/libdlo.h
+++ b/src/libdlo.h
@@ -130,6 +130,9 @@
#include <stdbool.h>
#include "usb.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
#if 0
#define dlo_malloc my_malloc
@@ -762,5 +765,8 @@ extern dlo_retcode_t dlo_copy_host_bmp(const dlo_dev_t uid, const dlo_bmpflags_t
const dlo_fbuf_t * const fbuf,
const dlo_view_t * const dest_view, const dlo_dot_t * const dest_pos);
+#ifdef __cplusplus
+};
+#endif
#endif