/pidgin/main: d4c01e0b2737: Fix compilation for older zlib

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue Sep 3 04:54:28 EDT 2013


Changeset: d4c01e0b27373c8adcdbdbafb348706e329386e6
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2013-09-03 10:54 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/d4c01e0b2737

Description:

Fix compilation for older zlib

diffstat:

 libpurple/http.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -34,6 +34,9 @@
 #include "purple-socket.h"
 
 #include <zlib.h>
+#ifndef z_const
+#define z_const
+#endif
 
 #define PURPLE_HTTP_URL_CREDENTIALS_CHARS "a-z0-9.,~_/*!&%?=+\\^-"
 #define PURPLE_HTTP_MAX_RECV_BUFFER_LEN 10240



More information about the Commits mailing list