summaryrefslogtreecommitdiff
path: root/Include/compile.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-02-28 23:09:08 +0000
committerThomas Wouters <thomas@python.org>2006-02-28 23:09:08 +0000
commitca82a8b7604ba0ace261a75eb204d9fab765cdbf (patch)
tree46a6eeb8a07bca67eb4aad81acd682bf4b87f671 /Include/compile.h
parent1f1c16a8121ffbc706f9a762ba89c7e6245d2b60 (diff)
downloadcpython-git-ca82a8b7604ba0ace261a75eb204d9fab765cdbf.tar.gz
Move #include to outside "extern C {}", before Tim figures out it'll break
VC++.
Diffstat (limited to 'Include/compile.h')
-rw-r--r--Include/compile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/compile.h b/Include/compile.h
index 0cc228ce5c..4ac69822a0 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 *);