examples: remove duplicate includes from common.c

parent cd5e33fb
...@@ -15,19 +15,11 @@ ...@@ -15,19 +15,11 @@
#include "common.h" #include "common.h"
#include <stdio.h> #ifndef _WIN32
#include <sys/types.h>
#include <sys/stat.h>
#ifdef _WIN32
# include <io.h>
#else
# include <fcntl.h>
# include <unistd.h> # include <unistd.h>
#endif #endif
#include <string.h>
#include <errno.h> #include <errno.h>
void check_lg2(int error, const char *message, const char *extra) void check_lg2(int error, const char *message, const char *extra)
{ {
const git_error *lg2err; const git_error *lg2err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment