summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-02-28 23:09:08 (GMT)
committerThomas Wouters <thomas@python.org>2006-02-28 23:09:08 (GMT)
commitca82a8b7604ba0ace261a75eb204d9fab765cdbf (patch)
tree46a6eeb8a07bca67eb4aad81acd682bf4b87f671 /Include
parent1f1c16a8121ffbc706f9a762ba89c7e6245d2b60 (diff)
downloadcpython-ca82a8b7604ba0ace261a75eb204d9fab765cdbf.zip
cpython-ca82a8b7604ba0ace261a75eb204d9fab765cdbf.tar.gz
cpython-ca82a8b7604ba0ace261a75eb204d9fab765cdbf.tar.bz2
Move #include to outside "extern C {}", before Tim figures out it'll break
VC++.
Diffstat (limited to 'Include')
-rw-r--r--Include/compile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/compile.h b/Include/compile.h
index 0cc228c..4ac6982 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -1,12 +1,13 @@
#ifndef Py_COMPILE_H
#define Py_COMPILE_H
+
+#include "code.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "code.h"
-
/* Public interface */
struct _node; /* Declare the existence of this type */
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);