Remove unnecessary include I don't think clone.c needs in #include dirent.h and it is not portable, so let's just get rid of it.
diff --git a/src/clone.c b/src/clone.c
index e06e9ad..c4f6ec9 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -7,10 +7,6 @@
#include <assert.h>
-#ifndef GIT_WIN32
-#include <dirent.h>
-#endif
-
#include "git2/clone.h"
#include "git2/remote.h"
#include "git2/revparse.h"