Update of /cvsroot/libsnet/libsnet
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11575
Modified Files:
snet.c
Log Message:
Reordered so ssl.h is included before zlib.h.
Some versions of zlib typedef free_func which OpenSSL uses in one
of its prototype arguments.
Index: snet.c
===================================================================
RCS file: /cvsroot/libsnet/libsnet/snet.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** snet.c 4 May 2006 15:01:54 -0000 1.53
--- snet.c 2 Aug 2006 19:09:11 -0000 1.54
***************
*** 22,33 ****
#include <netinet/in.h>
- #ifdef HAVE_ZLIB
- #include <zlib.h>
- #endif /* HAVE_ZLIB */
-
#ifdef HAVE_LIBSSL
#include <openssl/ssl.h>
#endif /* HAVE_LIBSSL */
#ifdef HAVE_LIBSASL
#include <sasl/sasl.h>
--- 22,33 ----
#include <netinet/in.h>
#ifdef HAVE_LIBSSL
#include <openssl/ssl.h>
#endif /* HAVE_LIBSSL */
+ #ifdef HAVE_ZLIB
+ #include <zlib.h>
+ #endif /* HAVE_ZLIB */
+
#ifdef HAVE_LIBSASL
#include <sasl/sasl.h>
|