improve includes, stagit-gopher-index does not need compat.h - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 66f25f38f7f59c9c37bb2462143c1250a20d04b0 DIR parent 2d17ff69d90329bbbfadbf258f4a22f26358943b HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 12 Feb 2020 23:23:26 +0100 improve includes, stagit-gopher-index does not need compat.h Diffstat: M stagit-gopher-index.c | 7 +------ M stagit-gopher.c | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) --- DIR diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c @@ -1,20 +1,15 @@ -#include <sys/stat.h> - #include <err.h> -#include <errno.h> -#include <inttypes.h> #include <locale.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <wchar.h> #include <git2.h> -#include "compat.h" - static git_repository *repo; static const char *relpath = ""; DIR diff --git a/stagit-gopher.c b/stagit-gopher.c @@ -3,13 +3,14 @@ #include <err.h> #include <errno.h> -#include <inttypes.h> #include <libgen.h> #include <limits.h> #include <locale.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <wchar.h>