Commit 745ccc8ab98c9bb52099d5fa786158704602b1af

Etienne Samson 2019-11-06T11:08:26

examples: remove duplicate includes from common.c

diff --git a/examples/common.c b/examples/common.c
index 47cfac6..d243785 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;