Skip to content

Commit

Permalink
tests: add missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed Feb 26, 2022
1 parent 0891530 commit fcd92aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/gnrc_sock_neterr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <errno.h>
#include <stdio.h>
#include <string.h>

#include "msg.h"
#include "net/sock/udp.h"

Expand Down
1 change: 1 addition & 0 deletions tests/gnrc_sock_tcp/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions tests/nanocoap_cli/nanocli_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@
#include <string.h>

#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)
Expand Down
1 change: 1 addition & 0 deletions tests/pkg_edhoc_c/initiator.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <stdio.h>

#include "net/gnrc/netif.h"
#include "net/ipv6.h"
#include "net/nanocoap_sock.h"
#include "shell.h"
Expand Down
1 change: 1 addition & 0 deletions tests/pkg_tinydtls_sock_async/dtls-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fcd92aa

Please sign in to comment.