mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 00:15:49 +03:00
address.h: added missing includes for POSIX
This commit is contained in:
1 parent
c031e99dfc
commit
3d7c0d22ea
1 file changed
+3
@@ -53,6 +53,9 @@ typedef struct coap_address_t {
|
||||
#endif /* WITH_CONTIKI */
|
||||
|
||||
#ifdef WITH_POSIX
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
/** multi-purpose address abstraction */
|
||||
typedef struct coap_address_t {
|
||||
socklen_t size; /**< size of addr */
|
||||
|
||||
Reference in new issue
Block a user