Skip to content
Snippets Groups Projects
Commit b08b2f14 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

sockaddr: add missing header and typedef

parent 1e7ba56a
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
#ifndef _WIN32 #ifndef _WIN32
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h>
#ifdef __ANDROID__
typedef uint16_t in_port_t;
#endif
#else #else
#include <iso646.h> #include <iso646.h>
#include <ws2def.h> #include <ws2def.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment