From e440929f8df71b5453085362958c4068eebb3c06 Mon Sep 17 00:00:00 2001 From: Karl Fessel Date: Fri, 25 Feb 2022 18:28:09 +0100 Subject: [PATCH] tests: add missing includes --- tests/gnrc_sock_neterr/main.c | 2 ++ tests/gnrc_sock_tcp/main.c | 1 + tests/nanocoap_cli/nanocli_client.c | 3 +++ tests/pkg_edhoc_c/initiator.c | 1 + tests/pkg_tinydtls_sock_async/dtls-client.c | 1 + tests/sock_udp_aux/main.c | 1 + 6 files changed, 9 insertions(+) diff --git a/tests/gnrc_sock_neterr/main.c b/tests/gnrc_sock_neterr/main.c index 61ee768024..caf2629b15 100644 --- a/tests/gnrc_sock_neterr/main.c +++ b/tests/gnrc_sock_neterr/main.c @@ -19,6 +19,8 @@ #include #include +#include + #include "msg.h" #include "net/sock/udp.h" diff --git a/tests/gnrc_sock_tcp/main.c b/tests/gnrc_sock_tcp/main.c index a24c244324..05ab248760 100644 --- a/tests/gnrc_sock_tcp/main.c +++ b/tests/gnrc_sock_tcp/main.c @@ -12,6 +12,7 @@ #include "shell.h" #include "msg.h" #include "net/sock/tcp.h" +#include "net/gnrc/tcp.h" #define MAIN_QUEUE_SIZE (8) #define SOCK_TCP_QUEUE_SIZE (1) diff --git a/tests/nanocoap_cli/nanocli_client.c b/tests/nanocoap_cli/nanocli_client.c index 3b8c5d2954..ebc2a96bc8 100644 --- a/tests/nanocoap_cli/nanocli_client.c +++ b/tests/nanocoap_cli/nanocli_client.c @@ -24,9 +24,12 @@ #include #include "net/coap.h" +#include "net/gnrc/netif.h" +#include "net/ipv6.h" #include "net/nanocoap.h" #include "net/nanocoap_sock.h" #include "net/sock/udp.h" + #include "od.h" static ssize_t _send(coap_pkt_t *pkt, size_t len, char *addr_str, char *port_str) diff --git a/tests/pkg_edhoc_c/initiator.c b/tests/pkg_edhoc_c/initiator.c index 9a3b1b86d3..81a0c64399 100644 --- a/tests/pkg_edhoc_c/initiator.c +++ b/tests/pkg_edhoc_c/initiator.c @@ -19,6 +19,7 @@ #include +#include "net/gnrc/netif.h" #include "net/ipv6.h" #include "net/nanocoap_sock.h" #include "shell.h" diff --git a/tests/pkg_tinydtls_sock_async/dtls-client.c b/tests/pkg_tinydtls_sock_async/dtls-client.c index 78d2fefa19..5355cb5eee 100644 --- a/tests/pkg_tinydtls_sock_async/dtls-client.c +++ b/tests/pkg_tinydtls_sock_async/dtls-client.c @@ -21,6 +21,7 @@ #include "event/thread.h" #include "event/timeout.h" +#include "net/gnrc/netif.h" #include "net/sock/async/event.h" #include "net/sock/udp.h" #include "net/sock/dtls.h" diff --git a/tests/sock_udp_aux/main.c b/tests/sock_udp_aux/main.c index f755d38684..bd0f48e031 100644 --- a/tests/sock_udp_aux/main.c +++ b/tests/sock_udp_aux/main.c @@ -21,6 +21,7 @@ #include #include +#include "thread.h" #include "fmt.h" #include "net/sock/udp.h" #include "shell.h"