aboutsummaryrefslogtreecommitdiffstats
path: root/stagit-index.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2020-02-12 23:20:25 +0100
committerHiltjo Posthuma <[email protected]>2020-02-12 23:20:25 +0100
commit2f7e7f2503014f66607b588f32de0b1be69c28a1 (patch)
tree97c16f48e24089cb0387897dfff8b24f670b896f /stagit-index.c
parent4a93974f52683114dd6c4db3bad0b7adace7c771 (diff)
downloadstagit-2f7e7f2503014f66607b588f32de0b1be69c28a1.tar.gz
stagit-2f7e7f2503014f66607b588f32de0b1be69c28a1.zip
improve includes, stagit-index does not need compat.h
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c7
1 files changed, 1 insertions, 6 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 <sys/stat.h>
-
#include <err.h>
-#include <errno.h>
-#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <git2.h>
-#include "compat.h"
-
static git_repository *repo;
static const char *relpath = "";