[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8349: Fix more compile warnings on Woody. (in tor/trunk: . src/or)



Author: nickm
Date: 2006-09-07 15:00:51 -0400 (Thu, 07 Sep 2006)
New Revision: 8349

Modified:
   tor/trunk/
   tor/trunk/configure.in
   tor/trunk/src/or/eventdns_tor.h
Log:
 r8757@Kushana:  nickm | 2006-09-07 13:07:46 -0400
 Fix more compile warnings on Woody.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r8757] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2006-09-07 16:32:06 UTC (rev 8348)
+++ tor/trunk/configure.in	2006-09-07 19:00:51 UTC (rev 8349)
@@ -502,6 +502,8 @@
 AC_CHECK_SIZEOF(void *)
 AC_CHECK_SIZEOF(time_t)
 
+AC_CHECK_TYPES([uint, u_char])
+
 if test -z "$CROSS_COMPILE"; then
 AC_CACHE_CHECK([whether time_t is signed], tor_cv_time_t_signed, [
 AC_TRY_RUN([

Modified: tor/trunk/src/or/eventdns_tor.h
===================================================================
--- tor/trunk/src/or/eventdns_tor.h	2006-09-07 16:32:06 UTC (rev 8348)
+++ tor/trunk/src/or/eventdns_tor.h	2006-09-07 19:00:51 UTC (rev 8349)
@@ -1,8 +1,12 @@
 
 #include "orconfig.h"
 #define DNS_USE_OPENSSL_FOR_ID
+#ifndef HAVE_UINT
 typedef unsigned int uint;
+#endif
+#ifndef HAVE_U_CHAR
 typedef unsigned char u_char;
+#endif
 #ifdef MS_WINDOWS
 #define inline __inline
 #endif