git/compat/zlib-compat.h
Patrick Steinhardt 629188ede7 compat: introduce new "zlib.h" header
Introduce a new "compat/zlib-compat.h" header that we include instead of
including <zlib.h> directly. This will allow us to wire up zlib-ng as an
alternative backend for zlib compression in a subsequent commit.

Note that we cannot just call the file "compat/zlib.h", as that may
otherwise cause us to include that file instead of <zlib.h>.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-01-28 13:03:22 -08:00

7 lines
91 B
C

#ifndef COMPAT_ZLIB_H
#define COMPAT_ZLIB_H
#include <zlib.h>
#endif /* COMPAT_ZLIB_H */