summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-13 14:35:12 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-13 14:35:12 +0200
commit224e0a6790126d01226da69148c75ec6b85ead42 (patch)
tree758f8d26c5a4c8f8b9ae46f14904d8fce9f5e8d5
parentdf141f1ccff7edac4873845855d605ef70057fae (diff)
downloadouroboros-224e0a6790126d01226da69148c75ec6b85ead42.tar.gz
ouroboros-224e0a6790126d01226da69148c75ec6b85ead42.zip
lib: Fix error in SWIG wrapper
This fixes an error in the SWIG wrapper.
-rw-r--r--include/ouroboros/wrap/ouroboros.i4
1 files changed, 3 insertions, 1 deletions
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"