summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-04-13 12:36:38 +0000
committerdimitri staessens <[email protected]>2017-04-13 12:36:38 +0000
commit6fc88977c8230cf15a0b12cec254190277d759b5 (patch)
tree758f8d26c5a4c8f8b9ae46f14904d8fce9f5e8d5
parentdf141f1ccff7edac4873845855d605ef70057fae (diff)
parent224e0a6790126d01226da69148c75ec6b85ead42 (diff)
downloadouroboros-6fc88977c8230cf15a0b12cec254190277d759b5.tar.gz
ouroboros-6fc88977c8230cf15a0b12cec254190277d759b5.zip
Merged in sandervrijders/ouroboros/be-swig (pull request #481)
lib: Fix error in 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"