summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 7c1bcad4a..4cc86659f 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -8,6 +8,10 @@
#include <gdk/gdkkeysyms-compat.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern GtkWidget *main_window;
/* we want a progress bar as part of the device_data_t - let's abstract this out */
@@ -117,4 +121,8 @@ GError *uemis_download(const char *path, progressbar_t *progress, GtkDialog *dia
/* from planner.c */
extern void input_plan(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif