# HG changeset patch # User Drew Gottlieb # Date 2015-03-18 18:41:36 # 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 --git a/mercurial/manifest.c b/mercurial/manifest.c --- a/mercurial/manifest.c +++ b/mercurial/manifest.c @@ -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