Review: Python build warning fix


Jeremy Selan <jeremy...@...>
 

Commit:
http://github.com/jeremyselan/OpenColorIO/commit/d37b316cd8354216b4d89b85c06ab08108b5d1cc

A pretty trivial change, include python.h first when building pyglue.

Some linux installations are adamant about including python.h first,
or you get warnings about duplicate #DEFINES for _POSIX_C_SOURCE,
_XOPEN_SOURCE, etc. This cleans it up.

-- Jeremy


Malcolm Humphreys <malcolmh...@...>
 

LGTM

On 27/01/2011, at 2:36 PM, Jeremy Selan wrote:

Commit:
http://github.com/jeremyselan/OpenColorIO/commit/d37b316cd8354216b4d89b85c06ab08108b5d1cc

A pretty trivial change, include python.h first when building pyglue.

Some linux installations are adamant about including python.h first,
or you get warnings about duplicate #DEFINES for _POSIX_C_SOURCE,
_XOPEN_SOURCE, etc. This cleans it up.

-- Jeremy