coap_io.c: Fix client only builds for coap_socket_bind_udp

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2024-03-13 11:54:03 +00:00
1 parent e25cf94d2a
commit a637024fa1
1 file changed
+2
+2
View File
@@ -88,6 +88,7 @@ coap_mfree_endpoint(coap_endpoint_t *ep) {
#if !defined(WITH_CONTIKI) && !defined(WITH_LWIP) && !defined(RIOT_VERSION)
#if COAP_SERVER_SUPPORT
int
coap_socket_bind_udp(coap_socket_t *sock,
const coap_address_t *listen_addr,
@@ -198,6 +199,7 @@ error:
coap_socket_close(sock);
return 0;
}
#endif /* COAP_SERVER_SUPPORT */
#if COAP_CLIENT_SUPPORT
int