diff options
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/netdb.h b/include/netdb.h index 3cda7114..8a7013ad 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -6,15 +6,12 @@ extern "C" { #endif #include <features.h> +#include <netinet/in.h> #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define __NEED_size_t -#endif - -#define __NEED_socklen_t -#define __NEED_uint32_t - #include <bits/alltypes.h> +#endif struct addrinfo { |