stagit

Static git page generator
git clone https://git.sinitax.com/codemadness/stagit
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 2f7e7f2503014f66607b588f32de0b1be69c28a1
parent 4a93974f52683114dd6c4db3bad0b7adace7c771
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 12 Feb 2020 23:20:25 +0100

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

Diffstat:
Mstagit-index.c | 7+------
Mstagit.c | 3++-
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git 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 = ""; diff --git a/stagit.c b/stagit.c @@ -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>