summaryrefslogtreecommitdiff
path: root/code/core/core.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-11 18:14:18 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-11 18:14:18 +0100
commit0b6d7b1baf2baf1f36a3a92865730c2d78fc12be (patch)
tree6888301324848f083cb47ea0b45e043bde90e60c /code/core/core.h
parent0b7db1a4555da3f9a153d72f44bc2a5d070df51f (diff)
platforms added
Diffstat (limited to 'code/core/core.h')
-rw-r--r--code/core/core.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/code/core/core.h b/code/core/core.h
index 3f8fd38..ce81d9d 100644
--- a/code/core/core.h
+++ b/code/core/core.h
@@ -81,8 +81,9 @@
#define ecp_conn_is_reg(conn) ((conn->flags) & ECP_CONN_FLAG_REG)
#define ecp_conn_is_open(conn) ((conn->flags) & ECP_CONN_FLAG_OPEN)
-#include "config.h"
+#include "../config.h"
+#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
@@ -130,8 +131,6 @@ typedef uint32_t ecp_seq_t;
#define ECP_SIZE_PLD_RAW_BUF(X,T,P) (ECP_SIZE_PLD(X,T)+((P) ? ((P)->pcount+1)*(ECP_SIZE_PKT_HDR+ECP_SIZE_MSG_BUF(T,P)+ECP_AEAD_SIZE_TAG) : 0))
#define ECP_SIZE_PKT_RAW_BUF(X,T,P) (ECP_SIZE_PLD_RAW_BUF(X,T,P)+ECP_SIZE_PKT_HDR+ECP_AEAD_SIZE_TAG)
-#include <sys/types.h>
-
#ifdef ECP_WITH_PTHREAD
#include <pthread.h>
#endif