From bd457aee2b6687540a4b683ac4eaa1bbc099f908 Mon Sep 17 00:00:00 2001 From: Ken Bannister Date: Wed, 19 Dec 2018 23:16:30 -0500 Subject: [PATCH] net/nanocoap: fix includes for nanocoap sock --- examples/nanocoap_server/main.c | 2 -- sys/include/net/nanocoap_sock.h | 1 + sys/net/application_layer/nanocoap/sock.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/nanocoap_server/main.c b/examples/nanocoap_server/main.c index 91ce26ef9a..dca6322c0c 100644 --- a/examples/nanocoap_server/main.c +++ b/examples/nanocoap_server/main.c @@ -19,9 +19,7 @@ #include -#include "net/nanocoap.h" #include "net/nanocoap_sock.h" - #include "xtimer.h" #define COAP_INBUF_SIZE (256U) diff --git a/sys/include/net/nanocoap_sock.h b/sys/include/net/nanocoap_sock.h index fd983212ca..97a2e290ce 100644 --- a/sys/include/net/nanocoap_sock.h +++ b/sys/include/net/nanocoap_sock.h @@ -23,6 +23,7 @@ #include #include +#include "net/nanocoap.h" #include "net/sock/udp.h" #ifdef __cplusplus diff --git a/sys/net/application_layer/nanocoap/sock.c b/sys/net/application_layer/nanocoap/sock.c index ad8118b546..ef2e0d6939 100644 --- a/sys/net/application_layer/nanocoap/sock.c +++ b/sys/net/application_layer/nanocoap/sock.c @@ -22,7 +22,7 @@ #include #include -#include "net/nanocoap.h" +#include "net/nanocoap_sock.h" #include "net/sock/udp.h" #define ENABLE_DEBUG (0)