summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-23 15:09:58 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-23 15:09:58 +0100
commit839c76c814a01e3852f5da1c4e294e8668e13c4f (patch)
treec547bd37fb0c512d286032fed151355b2ce6f3f8 /include
parent59ee34ef5650c415a6a747afb816964378d17b36 (diff)
downloadouroboros-839c76c814a01e3852f5da1c4e294e8668e13c4f.tar.gz
ouroboros-839c76c814a01e3852f5da1c4e294e8668e13c4f.zip
build: Require usage of C89
This requires the usage of the C89 standard for all source files. It also fixes a wrong check for the compiler flags (was checking this for CXX compiler instead of the C compiler).
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ouroboros/common.h b/include/ouroboros/common.h
index 90431208..09900a1f 100644
--- a/include/ouroboros/common.h
+++ b/include/ouroboros/common.h
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <unistd.h>
#include <stdbool.h>
+#include <errno.h>
typedef uint32_t port_id_t;