bindings/ruby: include config.h before any other header file
This commit is contained in:
parent
21964348bc
commit
90cc52260c
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue