summaryrefslogtreecommitdiff
path: root/src/h-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/h-type.h')
-rw-r--r--src/h-type.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/h-type.h b/src/h-type.h
index 27551b7f..145d4729 100644
--- a/src/h-type.h
+++ b/src/h-type.h
@@ -3,6 +3,11 @@
#ifndef INCLUDED_H_TYPE_H
#define INCLUDED_H_TYPE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/*
* Basic "types".
*
@@ -180,5 +185,9 @@ typedef vptr (*func_key)(vptr);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif