aboutsummaryrefslogtreecommitdiff
path: root/src/include/open-axiom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/open-axiom.h')
-rw-r--r--src/include/open-axiom.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h
index 19cbfedf..cae21d08 100644
--- a/src/include/open-axiom.h
+++ b/src/include/open-axiom.h
@@ -65,6 +65,10 @@ typedef void* openaxiom_handle;
#include <unistd.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Do we have graphics support? */
#ifdef X_DISPLAY_MISSING
# define OPENAXIOM_HAVE_GRAPHICS 0
@@ -94,4 +98,9 @@ openaxiom_sleep(int n)
#endif
}
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* OPENAXIOM_included */