diff --git a/Makefile.dep b/Makefile.dep index edb1e2b1eb..18ccf4d636 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -850,6 +850,7 @@ ifneq (,$(filter sock_async_event,$(USEMODULE))) endif ifneq (,$(filter sock_dns,$(USEMODULE))) + USEMODULE += sock_udp USEMODULE += sock_util USEMODULE += posix_headers endif @@ -857,7 +858,6 @@ endif ifneq (,$(filter sock_util,$(USEMODULE))) USEMODULE += posix_inet USEMODULE += fmt - USEMODULE += sock_udp endif ifneq (,$(filter event_%,$(USEMODULE))) @@ -905,6 +905,7 @@ ifneq (,$(filter gcoap,$(USEMODULE))) USEMODULE += nanocoap USEMODULE += sock_async USEMODULE += sock_async_event + USEMODULE += sock_udp USEMODULE += sock_util USEMODULE += event_callback USEMODULE += event_timeout