diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-01-11 18:03:01 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-01-11 18:03:01 +0100 |
commit | dea99b85dc52341265ae2e8463afee8a9709127a (patch) | |
tree | 4d4c52d046e76374314d5c88137e406a3d238ec2 /code/core/core.h | |
parent | eb8c9fe176721d5e8dd24febec88e1665ca70c26 (diff) |
fe310 platform introdiced
Diffstat (limited to 'code/core/core.h')
-rw-r--r-- | code/core/core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/core/core.h b/code/core/core.h index 7029bd7..3f8fd38 100644 --- a/code/core/core.h +++ b/code/core/core.h @@ -94,7 +94,7 @@ struct ECPConnection; struct ECPSeqItem; struct ECPFragIter; -typedef long ssize_t; +// typedef long ssize_t; typedef uint32_t ecp_ack_t; #define ECP_SIZE_ACKB (sizeof(ecp_ack_t)*8) @@ -130,6 +130,8 @@ 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 |