In address.h, coap_address_t is defined as OCDevAddr, it should be used
as coap_address_t not 'struct coap_address_t'
Change-Id: I110ebc2e7064dad6588d4b3ae7625a2edde58093
#endif
size_t
-coap_print_addr(const struct coap_address_t *addr, unsigned char *buf, size_t len) {
+coap_print_addr(const coap_address_t *addr, unsigned char *buf, size_t len) {
TODO(FIX: Fix this)
(void)addr;
(void)buf;
#include "pdu.h"
void coap_show_pdu(const coap_pdu_t *);
-#ifdef WITH_ANDROID
-/* For the Android build, the compiler does not likes these declarations */
-struct coap_address_t;
-size_t coap_print_addr(const struct coap_address_t *, unsigned char *, size_t);
-#endif
+#include "address.h"
+size_t coap_print_addr(const coap_address_t *, unsigned char *, size_t);
+
#else