Author: Armin Rigo <[email protected]>
Branch: fast-gil
Changeset: r72207:15e5e4c34776
Date: 2014-06-25 10:33 +0200
http://bitbucket.org/pypy/pypy/changeset/15e5e4c34776/

Log:    Reintroduce the #includes: without them, we don't get
        PYPY_USE_ASMGCC here at all

diff --git a/rpython/translator/c/src/thread.h 
b/rpython/translator/c/src/thread.h
--- a/rpython/translator/c/src/thread.h
+++ b/rpython/translator/c/src/thread.h
@@ -1,6 +1,7 @@
 #ifndef __PYPY_THREAD_H
 #define __PYPY_THREAD_H
 #include <assert.h>
+#include "common_header.h"
 
 #define RPY_TIMEOUT_T long long
 
diff --git a/rpython/translator/c/src/thread_gil.c 
b/rpython/translator/c/src/thread_gil.c
--- a/rpython/translator/c/src/thread_gil.c
+++ b/rpython/translator/c/src/thread_gil.c
@@ -1,3 +1,7 @@
+#ifdef PYPY_USE_ASMGCC
+# include "structdef.h"
+# include "forwarddecl.h"
+#endif
 
 /* Idea:
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to