-/* $Id: evdns.c,v 1.1 2007-11-01 15:46:43 root Exp $ */
+/* $Id: evdns.c,v 1.16 2007-11-06 16:09:37 root Exp $ */
/* The original version of this module was written by Adam Langley; for
* a history of modifications, check out the subversion logs.
#endif
#ifdef WIN32
+#ifndef EV_STANDALONE
#include "misc.h"
#endif
+#endif
/* #define NDEBUG */
#include <string.h>
#include <fcntl.h>
-#include <sys/time.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <string.h>
#include <errno.h>
#include <assert.h>
-#include <unistd.h>
#include <limits.h>
#include <sys/stat.h>
#include <ctype.h>
#include <stdarg.h>
#include "evdns.h"
-/*#include "log.h"*/
#ifdef WIN32
#include <windows.h>
#include <winsock2.h>
}
int evdns_resolve_reverse_ipv6(struct in6_addr *in, int flags, evdns_callback_type callback, void *ptr) {
- char buf[64];
+ char buf[96];
char *cp;
struct request *req;
int i;