From: Gerhard Sittig Date: Mon, 19 Feb 2018 15:45:32 +0000 (+0100) Subject: bindings/ruby: include config.h before any other header file X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=90cc52260c7cebf1c06e0430ab6aebaccda960e9;p=libsigrok.git bindings/ruby: include config.h before any other header file --- diff --git a/bindings/ruby/classes.i b/bindings/ruby/classes.i index fab2a4df..13496a86 100644 --- a/bindings/ruby/classes.i +++ b/bindings/ruby/classes.i @@ -41,10 +41,10 @@ which provides access to the error code and description." %module(docstring=DOCSTRING) sigrok %{ +#include "config.h" + #include #include - -#include "config.h" %} %include "../swig/templates.i"