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

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

View File

@ -41,10 +41,10 @@ which provides access to the error code and description."
%module(docstring=DOCSTRING) sigrok %module(docstring=DOCSTRING) sigrok
%{ %{
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <glibmm.h> #include <glibmm.h>
#include "config.h"
%} %}
%include "../swig/templates.i" %include "../swig/templates.i"