Skip to content

Commit ca82a8b

Browse files
committed
Move #include to outside "extern C {}", before Tim figures out it'll break
VC++.
1 parent 1f1c16a commit ca82a8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Include/compile.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11

22
#ifndef Py_COMPILE_H
33
#define Py_COMPILE_H
4+
5+
#include "code.h"
6+
47
#ifdef __cplusplus
58
extern "C" {
69
#endif
710

8-
#include "code.h"
9-
1011
/* Public interface */
1112
struct _node; /* Declare the existence of this type */
1213
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);

0 commit comments

Comments
 (0)