From 224e0a6790126d01226da69148c75ec6b85ead42 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 13 Apr 2017 14:35:12 +0200 Subject: lib: Fix error in SWIG wrapper This fixes an error in the SWIG wrapper. --- include/ouroboros/wrap/ouroboros.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/ouroboros/wrap/ouroboros.i b/include/ouroboros/wrap/ouroboros.i index 62a829e2..746aa1d3 100644 --- a/include/ouroboros/wrap/ouroboros.i +++ b/include/ouroboros/wrap/ouroboros.i @@ -22,6 +22,7 @@ %module ouroboros %{ +#include "ouroboros/cdefs.h" #include "ouroboros/cacep.h" #include "ouroboros/cdap.h" #include "ouroboros/dev.h" @@ -36,7 +37,8 @@ typedef int pid_t; -#include "ouroboros/cacep.h" +%include "ouroboros/cdefs.h" +%include "ouroboros/cacep.h" %include "ouroboros/cdap.h" %include "ouroboros/dev.h" %include "ouroboros/errno.h" -- cgit v1.2.3