# HG changeset patch # User Drew Gottlieb # Date 1426704096 25200 # Node ID d6dbe4d1c9bc8834e4afe42b18e70160745900f0 # Parent cdc4f3af2497b7342a8e4a081d2b07c9d888235a manifest: include Python.h before standard headers Python.h should be included before any standard headers according to the python docs: https://docs.python.org/2/c-api/intro.html#include-files diff -r cdc4f3af2497 -r d6dbe4d1c9bc mercurial/manifest.c --- a/mercurial/manifest.c Wed Mar 18 13:38:06 2015 -0500 +++ b/mercurial/manifest.c Wed Mar 18 11:41:36 2015 -0700 @@ -6,12 +6,12 @@ * This software may be used and distributed according to the terms of * the GNU General Public License, incorporated herein by reference. */ +#include + #include #include #include -#include - /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ #ifdef _MSC_VER #define true 1