improve includes, stagit-index does not need compat.h
This commit is contained in:
parent
4a93974f52
commit
2f7e7f2503
2 changed files with 3 additions and 7 deletions
|
@ -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 = "";
|
||||
|
|
3
stagit.c
3
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>
|
||||
|
|
Loading…
Reference in a new issue