stagit

git site generator
Contents

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

Hiltjo Posthuma hiltjo@codemadness.org

commit: b3f15d7 parent: 9c033c1
2 files changed, 3 insertions(+), 7 deletions(-)
Mstagit-index.c+1-6
Mstagit.c+2-1
M · stagit-index.c +1, -6
 1@@ -1,18 +1,13 @@
 2-#include
<sys/stat.h>
 3-
 4 #include <err.h>
 5-#include <errno.h>
 6-#include
<inttypes.h>
 7 #include <limits.h>
 8 #include
<stdio.h>
 9 #include
<stdlib.h>
10 #include
<string.h>
11+#include <time.h>
12 #include <unistd.h>
13
14 #include
<git2.h>
15
16-#include "compat.h"
17-
18 static git_repository *repo;
19
20 static const char
*relpath = "";
M · stagit.c +2, -1
 1@@ -3,12 +3,13 @@
 2
 3 #include
<err.h>
 4 #include
<errno.h>
 5-#include <inttypes.h>
 6 #include <libgen.h>
 7 #include
<limits.h>
 8+#include <stdint.h>
 9 #include <stdio.h>
10 #include
<stdlib.h>
11 #include
<string.h>
12+#include <time.h>
13 #include <unistd.h>
14
15 #include
<git2.h>