Clean all ‘… warning: "_POSIX_C_SOURCE" redefined’
authorRicardo Mones <ricardo@mones.org>
Sat, 16 Nov 2013 19:32:12 +0000 (20:32 +0100)
committerRicardo Mones <ricardo@mones.org>
Sun, 17 Nov 2013 18:53:32 +0000 (19:53 +0100)
commit6b8fa181634ff157965ff6f109c174644143316a
treed474a820d46edd45c88e5e6a45db46ba314c2e1f
parentaa1049c6aea50094b53971a2730b8f6f9f533f3a
Clean all ‘… warning: "_POSIX_C_SOURCE" redefined’

According documentation¹: “Since Python may define some pre-processor
definitions which affect the standard headers on some systems, you must
include Python.h before any standard headers are included.”

¹http://docs.python.org/2/c-api/intro.html#includes
14 files changed:
src/plugins/python/accounttype.h
src/plugins/python/composewindowtype.c
src/plugins/python/composewindowtype.h
src/plugins/python/folderpropertiestype.h
src/plugins/python/foldertype.c
src/plugins/python/foldertype.h
src/plugins/python/mailboxtype.c
src/plugins/python/mailboxtype.h
src/plugins/python/messageinfotype.c
src/plugins/python/messageinfotype.h
src/plugins/python/nodetype.c
src/plugins/python/nodetype.h
src/plugins/python/python-hooks.c
src/plugins/python/python_plugin.c