diff libpurple/protocols/zephyr/internal.h @ 27790: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 047c56435f1e
children
line wrap: on
line diff
--- 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