]> sigrok.org Git - libsigrok.git/commitdiff
bindings/ruby: include config.h before any other header file
authorGerhard Sittig <redacted>
Mon, 19 Feb 2018 15:45:32 +0000 (16:45 +0100)
committerUwe Hermann <redacted>
Wed, 21 Feb 2018 10:19:17 +0000 (11:19 +0100)
bindings/ruby/classes.i

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