#include <signal.h>
#include <assert.h>
#include <sys/poll.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_CONFIG_H
static void rehash(int nlen)
{
- int i, o, n, m, pl, nl;
+ unsigned int i, o, n, m, pl, nl;
struct bucket **new, **old;
old = buckets;