summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-02-22 17:36:10 +0100
committerSander Vrijders <[email protected]>2016-02-22 17:36:10 +0100
commitbc7bd364545f21b3b8522d5e7eabb9faa846845d (patch)
tree293a4003b4b185f66ee6b9cf32bd40902c2e2297
parent59c9251f3584e8d016c41305ec272bfbf662405a (diff)
downloadouroboros-bc7bd364545f21b3b8522d5e7eabb9faa846845d.tar.gz
ouroboros-bc7bd364545f21b3b8522d5e7eabb9faa846845d.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>