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

[vidalia-svn] r4203: Fix compilation on Debian GNU/kFreeBSD. Patch from dererk (t (in vidalia/trunk: . src/common)



Author: edmanm
Date: 2010-01-22 13:49:00 -0500 (Fri, 22 Jan 2010)
New Revision: 4203

Modified:
   vidalia/trunk/CHANGELOG
   vidalia/trunk/src/common/ZlibByteArray.cpp
Log:

Fix compilation on Debian GNU/kFreeBSD. Patch from dererk (trivially
tweaked).


Modified: vidalia/trunk/CHANGELOG
===================================================================
--- vidalia/trunk/CHANGELOG	2010-01-06 21:12:14 UTC (rev 4202)
+++ vidalia/trunk/CHANGELOG	2010-01-22 18:49:00 UTC (rev 4203)
@@ -4,6 +4,7 @@
     system theme. (Ticket #485. Patch from mkirk.)
   o Correct the path to the badge pixmap used in time skew warning
     messages. (Ticket #537. Patch from mkirk.)
+  o Fix compilation on Debian GNU/kFreeBSD. Patch from dererk.
   o Clean up a couple status event messages related to dangerous port
     warnings.
   o Change the vidalia_ru.nsh output encoding from KOI8-R to Windows-1251. 

Modified: vidalia/trunk/src/common/ZlibByteArray.cpp
===================================================================
--- vidalia/trunk/src/common/ZlibByteArray.cpp	2010-01-06 21:12:14 UTC (rev 4202)
+++ vidalia/trunk/src/common/ZlibByteArray.cpp	2010-01-22 18:49:00 UTC (rev 4203)
@@ -56,7 +56,7 @@
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
-#elif HAVE_SYS_LIMITS_H
+#elif defined(HAVE_SYS_LIMITS_H)
 #include <sys/limits.h>
 #endif