address.h: added missing includes for POSIX

This commit is contained in:
Olaf Bergmann committed 2016-04-08 15:14:20 +02:00
1 parent c031e99dfc
commit 3d7c0d22ea
1 file changed
+3
+3
View File
@@ -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 */