-#ifndef HAVE_GETNAMEINFO
-#include <sys/types.h>
-#include <sys/socket.h>
-extern int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
- size_t hostlen, char *serv, size_t servlen, int flags);
+#ifndef HAVE_GETTIMEOFDAY
+extern int gettimeofday(struct timeval *, void *);