aboutsummaryrefslogtreecommitdiff
path: root/include/fcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fcall.h')
-rw-r--r--include/fcall.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fcall.h b/include/fcall.h
index 93f46d4c..20ffe386 100644
--- a/include/fcall.h
+++ b/include/fcall.h
@@ -1,3 +1,8 @@
+#ifndef _FCALL_H_
+#define _FCALL_H_ 1
+#if defined(__cplusplus)
+extern "C" {
+#endif
/*
#pragma src "/sys/src/libc/9sys"
#pragma lib "libc.a"
@@ -118,3 +123,7 @@ int read9pmsg(int, void*, uint);
#pragma varargck type "M" ulong
#pragma varargck type "D" Dir*
*/
+#if defined(__cplusplus)
+}
+#endif
+#endif