summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/structmember.h')
-rw-r--r--Include/structmember.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 425300c..2462aa7 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -1,3 +1,9 @@
+#ifndef Py_STRUCTMEMBER_H
+#define Py_STRUCTMEMBER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/***********************************************************
Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
@@ -70,3 +76,8 @@ struct memberlist {
object *getmember PROTO((char *, struct memberlist *, char *));
int setmember PROTO((char *, struct memberlist *, char *, object *));
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_STRUCTMEMBER_H */