eventdns_tor.h 510 B

12345678910111213141516171819202122232425
  1. /* Copyright (c) 2007-2011, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. #include "orconfig.h"
  4. #define DNS_USE_OPENSSL_FOR_ID
  5. #ifndef HAVE_UINT
  6. typedef unsigned int uint;
  7. #endif
  8. #ifndef HAVE_U_CHAR
  9. typedef unsigned char u_char;
  10. #endif
  11. #ifdef _WIN32
  12. #define inline __inline
  13. #endif
  14. #include "torint.h"
  15. #if defined(_WIN32) && !defined(_WIN32)
  16. /* How did _this_ happen? */
  17. #define _WIN32
  18. #endif
  19. /* These are for debugging possible memory leaks. */
  20. #include "util.h"
  21. #include "compat.h"