#include <signal.h>
#include <assert.h>
#include <sys/poll.h>
#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
#include <arpa/inet.h>
#ifdef HAVE_CONFIG_H