From 1aea12c27cbd6e78a9cf6eba955dbac4f873da43 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Fri, 4 Mar 2022 08:26:15 +0100 Subject: [PATCH] sys/net/gnrc/sock_types: guard tcp.h header inclusion --- sys/net/gnrc/sock/include/sock_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/gnrc/sock/include/sock_types.h b/sys/net/gnrc/sock/include/sock_types.h index 6369914ec8..19468868cd 100644 --- a/sys/net/gnrc/sock/include/sock_types.h +++ b/sys/net/gnrc/sock/include/sock_types.h @@ -28,7 +28,9 @@ #include "mbox.h" #include "net/af.h" #include "net/gnrc.h" +#if IS_USED(MODULE_GNRC_TCP) #include "net/gnrc/tcp.h" +#endif #include "net/gnrc/netreg.h" #ifdef SOCK_HAS_ASYNC #include "net/sock/async/types.h"