1USEMODULE += posix_sockets 2USEMODULE += posix_headers 3USEMODULE += posix_inet 4USEMODULE += posix_select 5USEMODULE += sock_udp 6CFLAGS += -DPOSIX_SETSOCKOPT 7 8ifneq (,$(filter libcoap,$(USEPKG))) 9 USEMODULE += libcoap 10endif 11