address.h: added missing includes for POSIX

This commit is contained in:
Olaf Bergmann committed 2016-03-08 13:05:24 +01:00
1 parent 5825e63da4
commit ef9ce640af
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 */