libcoap
libcoap copied to clipboard
Indirect inclusion of sys/types.h in lwippools.h causes conflicting types
This issue is valid if lwIP's socket interface is enabled (LWIP_SOCKET).
The files included by lwippools.h eventually includes the sys/types.h header file. In this header file some socket related definitions are defined, e.g. "fd_set". The same definitions are defined by lwIP's socket interface in sockets.h. This causes conflicted types error when compiling.
Can you explain then sys/types.h is gone included?
libcoap LwIP support has been re-written in PR https://github.com/obgm/libcoap/pull/884, and so this should no longer be an issue.