diff --git a/Makefile.dep b/Makefile.dep
index 09eda5895331f111724b66b2f88b81bafe6e6a94..418550077bf41319b5c346a4d984398f8c42e9e1 100644
--- a/Makefile.dep
+++ b/Makefile.dep
@@ -3,6 +3,7 @@ include $(RIOTBASE)/drivers/Makefile.dep
 
 ifneq (,$(filter libcoap,$(USEPKG)))
     USEMODULE += posix_sockets
+    USEMODULE += gnrc_conn_udp
 endif
 
 ifneq (,$(filter nhdp,$(USEMODULE)))