summaryrefslogtreecommitdiff
path: root/src/indexer.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-02-15 16:56:56 +0100
committerVicent Martí <tanoku@gmail.com>2012-02-15 16:56:56 +0100
commit0c3bae6268c404fc3717cc90ba1bc5db91c8cbe6 (patch)
treee7052e74d5437865d1a5c4765cc857415c171e4e /src/indexer.c
parent66faeb5c5d38541c070a02bc53ad0846a4c5fcc9 (diff)
downloadlibgit2-0c3bae6268c404fc3717cc90ba1bc5db91c8cbe6.tar.gz
zlib: Remove custom `git2/zlib.h` header
This is legacy compat stuff for when `deflateBound` is not defined, but we're not embedding zlib and that function is always available. Kill that with fire.
Diffstat (limited to 'src/indexer.c')
-rw-r--r--src/indexer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexer.c b/src/indexer.c
index c14b8e238..de1e5dc52 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -5,9 +5,10 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
+#include <zlib.h>
+
#include "git2/indexer.h"
#include "git2/object.h"
-#include "git2/zlib.h"
#include "git2/oid.h"
#include "common.h"