summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-22 17:36:10 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-02-23 01:53:26 +0100
commit7cd377ad7cb8c636262a27b31341b8c54dd797fb (patch)
tree293a4003b4b185f66ee6b9cf32bd40902c2e2297
parent9fb8dff10efc9869264e55da64b64c4aadf805a6 (diff)
downloadouroboros-7cd377ad7cb8c636262a27b31341b8c54dd797fb.tar.gz
ouroboros-7cd377ad7cb8c636262a27b31341b8c54dd797fb.zip
include: Fix common includes
common.h will now include stdbool and several other useful includes (size_t for instance).
-rw-r--r--include/ouroboros/common.h2
-rw-r--r--src/lib/CMakeLists.txt1
-rw-r--r--src/lib/bitmap.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/ouroboros/common.h b/include/ouroboros/common.h
index f2be815f..90431208 100644
--- a/include/ouroboros/common.h
+++ b/include/ouroboros/common.h
@@ -24,6 +24,8 @@
#define OUROBOROS_COMMON_H
#include <stdint.h>
+#include <unistd.h>
+#include <stdbool.h>
typedef uint32_t port_id_t;
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 5c0e6bbe..11183716 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -8,6 +8,7 @@ set(SOURCE_FILES
# Add source files here
bitmap.c
cdap.c
+ irm.c
)
add_library(ouroboros SHARED ${SOURCE_FILES})
diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c
index 3e1ba049..cb414e7f 100644
--- a/src/lib/bitmap.c
+++ b/src/lib/bitmap.c
@@ -22,7 +22,6 @@
*/
#include <ouroboros/bitmap.h>
-#include <stdbool.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>