changeset 28128:6187a40eea57

zephyr: Build properly on Hurd. This patch was culled from Debian#530893. committer: Paul Aurich <paul@darkrain42.org>
author duck@hurdfr.org
date Sat, 01 Aug 2009 05:31:59 +0000
parents 1ff7de15d856
children c72d171565c4
files ChangeLog libpurple/protocols/zephyr/internal.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Aug 01 04:32:24 2009 +0000
+++ b/ChangeLog	Sat Aug 01 05:31:59 2009 +0000
@@ -43,6 +43,7 @@
 	  against the GNU IDN library.
 	* Install scalable versions of the main Pidgin icon, the protocol icons,
 	  the dialog icons, and the Buddy List emblems.
+	* Build properly on Hurd.  (Marc Dequènes)
 
 	AIM and ICQ:
 	* Preliminary support for a new authentication scheme called
--- a/libpurple/protocols/zephyr/internal.h	Sat Aug 01 04:32:24 2009 +0000
+++ b/libpurple/protocols/zephyr/internal.h	Sat Aug 01 05:31:59 2009 +0000
@@ -23,6 +23,12 @@
 
 #define ETIMEDOUT WSAETIMEDOUT
 #define EADDRINUSE WSAEADDRINUSE
+#else /* !WIN32 */
+
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 4096
+#endif
+
 #endif
 
 #ifdef ZEPHYR_USES_HESIOD