diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c
index ec8c1bff539232c581fd10ef1d01c345442a2e35..f44498258d4c2a0ebd1379ed818d9d04b56f0761 100644 (file)
--- a/compat/inet_ntop.c
+++ b/compat/inet_ntop.c
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
*/
char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
struct { int base, len; } best, cur;
- u_int words[NS_IN6ADDRSZ / NS_INT16SZ];
+ unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ];
int i;
/*