From a5c86a6d24aebda20cc817396371c05110852ae1 Mon Sep 17 00:00:00 2001
From: Orgad Shaneh <orgads@gmail.com>
Date: Thu, 28 Dec 2017 08:19:47 +0200
Subject: [PATCH 2/5] MinGW: Remove dirent.c

It is only needed for MSVC, and breaks the build on MinGW.
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 28e21a5..d3e6e60 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,7 @@ loadavg_SRCS =	src/getloadavg.c
 
 alloca_SRCS =	src/alloca.c
 
-w32_SRCS =	src/w32/pathstuff.c src/w32/w32os.c src/w32/compat/dirent.c \
+w32_SRCS =	src/w32/pathstuff.c src/w32/w32os.c \
 		src/w32/compat/posixfcn.c src/w32/include/dirent.h \
 		src/w32/include/dlfcn.h src/w32/include/pathstuff.h \
 		src/w32/include/sub_proc.h src/w32/include/w32err.h \
-- 
2.15.1.windows.2

