mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	Protect #include of zlib.h if we build without zlib.
This commit is contained in:
		@@ -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.
 | 
					 * All rights reserved.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Redistribution and use in source and binary forms,
 | 
					 * Redistribution and use in source and binary forms,
 | 
				
			||||||
@@ -36,7 +36,9 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "libssh2_priv.h"
 | 
					#include "libssh2_priv.h"
 | 
				
			||||||
 | 
					#ifdef LIBSSH2_HAVE_ZLIB
 | 
				
			||||||
# include <zlib.h>
 | 
					# include <zlib.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* ********
 | 
					/* ********
 | 
				
			||||||
   * none *
 | 
					   * none *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user