1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-05 09:30:35 +03:00

comp.c: Fix name clash with ZLIB macro "compress" (#418)

File: comp.c

Notes:
* Fix name clash with ZLIB macro "compress". 

Credit:
Zenju
This commit is contained in:
Zenju
2020-07-01 20:55:29 +02:00
committed by GitHub
parent fc5d77881e
commit 0222603df5

View File

@@ -38,7 +38,8 @@
#include "libssh2_priv.h"
#ifdef LIBSSH2_HAVE_ZLIB
# include <zlib.h>
#include <zlib.h>
#undef compress /* dodge name clash with ZLIB macro */
#endif
#include "comp.h"