summaryrefslogtreecommitdiff
path: root/Include/cStringIO.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-30 08:57:12 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-03-30 08:57:12 +0000
commitf6ae2e3603c09314a90446d411123014a5b7c1c7 (patch)
tree3a86c75b40be0589fcf4130be6248a9379ab0463 /Include/cStringIO.h
parent5194a79461ec0f6c9348b3861a540e99928d2ecc (diff)
downloadcpython-f6ae2e3603c09314a90446d411123014a5b7c1c7.tar.gz
Patch #536908: Add missing #include guards/extern "C".
Diffstat (limited to 'Include/cStringIO.h')
-rw-r--r--Include/cStringIO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/cStringIO.h b/Include/cStringIO.h
index cb8f337f6e..fa3fcd70a6 100644
--- a/Include/cStringIO.h
+++ b/Include/cStringIO.h
@@ -1,5 +1,8 @@
#ifndef CSTRINGIO_INCLUDED
#define CSTRINGIO_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
cStringIO.h,v 1.4 1997/12/07 14:27:00 jim Exp
@@ -128,4 +131,7 @@ xxxPyCObject_Import(char *module_name, char *name)
#define PycString_IMPORT \
PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
+#ifdef __cplusplus
+}
+#endif
#endif /* CSTRINGIO_INCLUDED */