eventdns_tor.h 519 B

12345678910111213141516171819202122232425
  1. /* Copyright (c) 2007, 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 MS_WINDOWS
  12. #define inline __inline
  13. #endif
  14. #include "torint.h"
  15. #if defined(MS_WINDOWS) && !defined(WIN32)
  16. /* How did _this_ happen? */
  17. #define WIN32
  18. #endif
  19. /* XXXX020 These are for debugging possible memory leaks. */
  20. #include "util.h"
  21. #include "compat.h"