- firedns.c: use poll.h
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5227
82007160-df01-0410-b94d-
b575c5fd34c7
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
-
-#ifdef HAVE_SYS_POLL_H
-# include <sys/poll.h>
-#endif
+#include <poll.h>
#include "compat.h"
#include "config.h"
/* add target strings */
LIST_FOREACH(p2, sc->target_string->head)
- opm_config(scs->scanner, OPM_CONFIG_TARGET_STRING, (char *) p2->data);
+ opm_config(scs->scanner, OPM_CONFIG_TARGET_STRING, p2->data);
/* Setup callbacks */
opm_callback(scs->scanner, OPM_CALLBACK_OPENPROXY, &scan_open_proxy, scs);