Protect #include of zlib.h if we build without zlib.

This commit is contained in:
Simon Josefsson 2007-04-04 14:44:50 +00:00
parent e7b3a2efc5
commit 348b914ab7

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2004-2006, Sara Golemon <sarag@libssh2.org>
/* Copyright (c) 2004-2007, Sara Golemon <sarag@libssh2.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms,
@ -36,7 +36,9 @@
*/
#include "libssh2_priv.h"
#include <zlib.h>
#ifdef LIBSSH2_HAVE_ZLIB
# include <zlib.h>
#endif
/* ********
* none *