From cb6ad7ea96a7b0dae90420e49eb2c1debd530e8b Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Mon, 19 Oct 2020 14:22:58 +0200 Subject: [PATCH] Fix includes Signed-off-by: Esteve Fernandez --- include/zenoh/iobuf.h | 1 + include/zenoh/net/codec.h | 1 + include/zenoh/net/private/msg.h | 1 + include/zenoh/net/private/msgcodec.h | 1 + include/zenoh/net/private/net.h | 1 + include/zenoh/net/session.h | 1 + include/zenoh/net/types.h | 1 + include/zenoh/types.h | 1 + src/codec.c | 1 + src/iobuf.c | 1 + src/net/msgcodec.c | 1 + src/net/recv_loop.c | 1 + src/net/session.c | 1 + src/net/unix/net.c | 1 + test/zn_msgcodec_test.c | 1 + 15 files changed, 15 insertions(+) diff --git a/include/zenoh/iobuf.h b/include/zenoh/iobuf.h index 13ad1ca1f..b862a0f12 100644 --- a/include/zenoh/iobuf.h +++ b/include/zenoh/iobuf.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_IOBUF_H_ #define ZENOH_C_IOBUF_H_ +#include #include "zenoh/types.h" typedef struct diff --git a/include/zenoh/net/codec.h b/include/zenoh/net/codec.h index 237e0172b..72e3b509b 100644 --- a/include/zenoh/net/codec.h +++ b/include/zenoh/net/codec.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_NET_CODEC_H #define ZENOH_C_NET_CODEC_H +#include #include "zenoh/codec.h" #include "zenoh/net/result.h" #include "zenoh/net/types.h" diff --git a/include/zenoh/net/private/msg.h b/include/zenoh/net/private/msg.h index 5b8ff2ae7..c4b1dde95 100644 --- a/include/zenoh/net/private/msg.h +++ b/include/zenoh/net/private/msg.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_NET_MSG_H #define ZENOH_C_NET_MSG_H +#include #include "zenoh/net/private/types.h" // NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total length diff --git a/include/zenoh/net/private/msgcodec.h b/include/zenoh/net/private/msgcodec.h index e997fa720..57d32ddc9 100644 --- a/include/zenoh/net/private/msgcodec.h +++ b/include/zenoh/net/private/msgcodec.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_NET_MSGCODEC_H #define ZENOH_C_NET_MSGCODEC_H +#include #include "zenoh/net/codec.h" #include "zenoh/net/result.h" #include "zenoh/net/types.h" diff --git a/include/zenoh/net/private/net.h b/include/zenoh/net/private/net.h index 8b1e6bb75..5de766a07 100644 --- a/include/zenoh/net/private/net.h +++ b/include/zenoh/net/private/net.h @@ -16,6 +16,7 @@ #define ZENOH_C_NET_H // @TODO: remote the platform-specific include +#include #include #include #include diff --git a/include/zenoh/net/session.h b/include/zenoh/net/session.h index dc4873ae9..b18bba7b3 100644 --- a/include/zenoh/net/session.h +++ b/include/zenoh/net/session.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_NET_SESSION_H #define ZENOH_C_NET_SESSION_H +#include #include "zenoh/net/types.h" /*------------------ Scout/Open/Close ------------------*/ diff --git a/include/zenoh/net/types.h b/include/zenoh/net/types.h index 49561bc34..b2bd8be50 100644 --- a/include/zenoh/net/types.h +++ b/include/zenoh/net/types.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_NET_TYPES_H_ #define ZENOH_C_NET_TYPES_H_ +#include #include #include "zenoh/iobuf.h" #include "zenoh/net/result.h" diff --git a/include/zenoh/types.h b/include/zenoh/types.h index c1a6239ab..9eca2de91 100644 --- a/include/zenoh/types.h +++ b/include/zenoh/types.h @@ -15,6 +15,7 @@ #ifndef ZENOH_C_TYPES_H_ #define ZENOH_C_TYPES_H_ +#include #include #include "zenoh/result.h" #include "zenoh/collection.h" diff --git a/src/codec.c b/src/codec.c index 17b85b310..feffbbd1b 100644 --- a/src/codec.c +++ b/src/codec.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ +#include #include #include "zenoh/codec.h" #include "zenoh/net/codec.h" diff --git a/src/iobuf.c b/src/iobuf.c index babc4f579..2d1295b57 100644 --- a/src/iobuf.c +++ b/src/iobuf.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ +#include #include #include #include "zenoh/iobuf.h" diff --git a/src/net/msgcodec.c b/src/net/msgcodec.c index 52d5c0b9b..5c62fb7ef 100644 --- a/src/net/msgcodec.c +++ b/src/net/msgcodec.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ +#include #include #include "zenoh/private/logging.h" #include "zenoh/net/private/codec.h" diff --git a/src/net/recv_loop.c b/src/net/recv_loop.c index 31b9705ec..f1201f3d2 100644 --- a/src/net/recv_loop.c +++ b/src/net/recv_loop.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ +#include #include #include #include "zenoh/net/recv_loop.h" diff --git a/src/net/session.c b/src/net/session.c index ef4b112c7..aadb3ef81 100644 --- a/src/net/session.c +++ b/src/net/session.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ +#include #include #include #include "zenoh/net/lease_loop.h" diff --git a/src/net/unix/net.c b/src/net/unix/net.c index 08cbac1fc..de07a9a79 100644 --- a/src/net/unix/net.c +++ b/src/net/unix/net.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/test/zn_msgcodec_test.c b/test/zn_msgcodec_test.c index 6989287b5..0797292d9 100644 --- a/test/zn_msgcodec_test.c +++ b/test/zn_msgcodec_test.c @@ -12,6 +12,7 @@ * ADLINK zenoh team, */ #include +#include #include #include #include