# HG changeset patch # User Alexis S. L. Carvalho # Date 1191690851 10800 # Node ID 11caa374f4973400512dec6d0cbf18881b208962 # Parent 5105b119edd2280df9638db6c30898fb350b8776 osutil.c: include Python.h before the other headers This is recommended by the Python documentation, since Python.h defines some constants. diff --git a/mercurial/osutil.c b/mercurial/osutil.c --- a/mercurial/osutil.c +++ b/mercurial/osutil.c @@ -9,6 +9,7 @@ #define _ATFILE_SOURCE #define _LARGEFILE64_SOURCE +#include #include #include #include @@ -17,8 +18,6 @@ #include #include -#include "Python.h" - struct listdir_stat { PyObject_HEAD struct stat st;