2007-12-12 22:09:01 +01:00
|
|
|
/* Copyright (c) 2007, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
2006-06-03 21:49:42 +02:00
|
|
|
|
|
|
|
#include "orconfig.h"
|
|
|
|
#define DNS_USE_OPENSSL_FOR_ID
|
2006-09-07 21:00:51 +02:00
|
|
|
#ifndef HAVE_UINT
|
2006-06-03 21:49:42 +02:00
|
|
|
typedef unsigned int uint;
|
2006-09-07 21:00:51 +02:00
|
|
|
#endif
|
|
|
|
#ifndef HAVE_U_CHAR
|
2006-06-03 21:49:42 +02:00
|
|
|
typedef unsigned char u_char;
|
2006-09-07 21:00:51 +02:00
|
|
|
#endif
|
2006-08-16 20:47:24 +02:00
|
|
|
#ifdef MS_WINDOWS
|
|
|
|
#define inline __inline
|
|
|
|
#endif
|
2007-08-08 07:50:31 +02:00
|
|
|
#include "torint.h"
|
2006-12-15 07:12:01 +01:00
|
|
|
|
|
|
|
#if defined(MS_WINDOWS) && !defined(WIN32)
|
|
|
|
/* How did _this_ happen? */
|
|
|
|
#define WIN32
|
|
|
|
#endif
|
2006-06-03 23:41:14 +02:00
|
|
|
|
2008-02-05 22:39:44 +01:00
|
|
|
/* These are for debugging possible memory leaks. */
|
2007-08-17 23:46:34 +02:00
|
|
|
#include "util.h"
|
|
|
|
#include "compat.h"
|
|
|
|
|