improve includes, stagit-index does not need compat.h

This commit is contained in:
Hiltjo Posthuma 2020-02-12 23:20:25 +01:00
parent 4a93974f52
commit 2f7e7f2503
2 changed files with 3 additions and 7 deletions

View file

@ -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 = "";

View file

@ -3,12 +3,13 @@
#include <err.h>
#include <errno.h>
#include <inttypes.h>
#include <libgen.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <git2.h>