diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2015-10-31 14:03:21 -0700 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2015-10-31 14:17:46 -0700 |
commit | a8293f411234180d70e9ff979954b28381842e1f (patch) | |
tree | 79aaeb0d881cc7ef6d957f388b9f5a5eb3d7cf6d /gi/pygi-hashtable.h | |
parent | 3b1d130174951f7648beceac270daa8ac65939c7 (diff) | |
download | pygobject-a8293f411234180d70e9ff979954b28381842e1f.tar.gz |
Fix build warnings regarding _POSIX_C_SOURCE redefinition
Move Python.h includes above glib includes to avoid build
warnings with Python 2 as noted here:
https://docs.python.org/2/c-api/intro.html#include-files
Diffstat (limited to 'gi/pygi-hashtable.h')
-rw-r--r-- | gi/pygi-hashtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-hashtable.h b/gi/pygi-hashtable.h index efd69f61..74cd04fc 100644 --- a/gi/pygi-hashtable.h +++ b/gi/pygi-hashtable.h @@ -20,8 +20,8 @@ #ifndef __PYGI_HASHTABLE_H__ #define __PYGI_HASHTABLE_H__ -#include <girepository.h> #include "pygi-cache.h" +#include <girepository.h> G_BEGIN_DECLS |