bindings/python: include config.h before any other header file

This commit is contained in:
Gerhard Sittig 2018-02-19 16:44:09 +01:00 committed by Uwe Hermann
parent 1e95832b3e
commit 21964348bc
1 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,8 @@ which provides access to the error code and description."
%module(docstring=DOCSTRING) classes
%{
#include "config.h"
#include <stdio.h>
#include <pygobject.h>
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
@ -53,8 +55,6 @@ which provides access to the error code and description."
PyObject *PyGObject_lib;
PyObject *GLib;
#include "config.h"
#if PYGOBJECT_FLAGS_SIGNED
typedef gint pyg_flags_type;
#else