diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2019-11-06 11:08:26 +0100 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2019-11-06 11:08:26 +0100 |
commit | 745ccc8ab98c9bb52099d5fa786158704602b1af (patch) | |
tree | e5a698e0184e8b31296c4b56187a49970f7d3b61 /examples | |
parent | cd5e33fbc2d11477aad954a6f343e791fdc7ef85 (diff) | |
download | libgit2-745ccc8ab98c9bb52099d5fa786158704602b1af.tar.gz |
examples: remove duplicate includes from common.c
Diffstat (limited to 'examples')
-rw-r--r-- | examples/common.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/common.c b/examples/common.c index 47cfac6a0..d243785a5 100644 --- a/examples/common.c +++ b/examples/common.c @@ -15,19 +15,11 @@ #include "common.h" -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -#ifdef _WIN32 -# include <io.h> -#else -# include <fcntl.h> +#ifndef _WIN32 # include <unistd.h> #endif -#include <string.h> #include <errno.h> - void check_lg2(int error, const char *message, const char *extra) { const git_error *lg2err; |