From 2f7e7f2503014f66607b588f32de0b1be69c28a1 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 12 Feb 2020 23:20:25 +0100 Subject: [PATCH] improve includes, stagit-index does not need compat.h --- stagit-index.c | 7 +------ stagit.c | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/stagit-index.c b/stagit-index.c index 59a12d6..2b243ec 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -1,18 +1,13 @@ -#include - #include -#include -#include #include #include #include #include +#include #include #include -#include "compat.h" - static git_repository *repo; static const char *relpath = ""; diff --git a/stagit.c b/stagit.c index dcac016..affa318 100644 --- a/stagit.c +++ b/stagit.c @@ -3,12 +3,13 @@ #include #include -#include #include #include +#include #include #include #include +#include #include #include -- libgit2 1.1.1