00001 /* Copyright (c) 2007-2010, The Tor Project, Inc. */ 00002 /* See LICENSE for licensing information */ 00003 00004 #include "orconfig.h" 00005 #define DNS_USE_OPENSSL_FOR_ID 00006 #ifndef HAVE_UINT 00007 typedef unsigned int uint; 00008 #endif 00009 #ifndef HAVE_U_CHAR 00010 typedef unsigned char u_char; 00011 #endif 00012 #ifdef MS_WINDOWS 00013 #define inline __inline 00014 #endif 00015 #include "torint.h" 00016 00017 #if defined(MS_WINDOWS) && !defined(WIN32) 00018 /* How did _this_ happen? */ 00019 #define WIN32 00020 #endif 00021 00022 /* These are for debugging possible memory leaks. */ 00023 #include "util.h" 00024 #include "compat.h" 00025