--- util.c	2010-04-30 22:38:58.000000000 +0200
+++ util.c	2010-04-30 23:19:36.000000000 +0200
@@ -18,8 +18,6 @@
 #include <process.h>
 #include <winbase.h>
 #else /*  *NIX  */
-#include <sys/socket.h>
-#include <netinet/in.h>
 #include <netdb.h>
 #include <fcntl.h>
 #include <sys/wait.h>
@@ -29,7 +27,6 @@
 #include <stdarg.h>
 #include <time.h>
 #include <errno.h>
-#include <arpa/inet.h>
 #include <sys/time.h>
 #include <unistd.h>
 #endif /* !win32 */
@@ -71,7 +68,7 @@
 #if defined(HAVE_NANOSLEEP) || defined(USE_NANOSLEEP)
 	struct timespec req, rem;
 	long nanoseconds = thislong * 1000;
-
+	int nanosleep ();
 
 	if (nanoseconds > 999999999)
 	{
