mirror of
https://github.com/git/git.git
synced 2025-09-10 22:44:50 +02:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
27e8960037
commit
629188ede7
@@ -13,7 +13,7 @@ https://developers.google.com/open-source/licenses/bsd
|
||||
#include "record.h"
|
||||
#include "reftable-error.h"
|
||||
#include "system.h"
|
||||
#include <zlib.h>
|
||||
#include "compat/zlib-compat.h"
|
||||
|
||||
int header_size(int version)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user