]> granicus.if.org Git - python/commitdiff
Include code.h more sanely.
authorThomas Wouters <thomas@python.org>
Tue, 28 Feb 2006 22:40:55 +0000 (22:40 +0000)
committerThomas Wouters <thomas@python.org>
Tue, 28 Feb 2006 22:40:55 +0000 (22:40 +0000)
Include/compile.h

index 01ba25c6e02e80cf4d9e99f17e8f840f87c7e279..0cc228ce5c5d06835094ca693248ee3531ddf7cf 100644 (file)
@@ -1,6 +1,3 @@
-#ifndef Py_CODE_H
-#include "code.h"
-#endif
 
 #ifndef Py_COMPILE_H
 #define Py_COMPILE_H
@@ -8,6 +5,8 @@
 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 *);