From 10897757905002caeb0e0308a996c903fb86841f Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Sun, 6 Sep 2015 18:38:30 -0400
Subject: [PATCH] move stat.h out of UNIX #ifdef

---
 pd/src/s_loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/src/s_loader.c b/pd/src/s_loader.c
index c4ea45f05..23140ccd9 100644
--- a/pd/src/s_loader.c
+++ b/pd/src/s_loader.c
@@ -9,7 +9,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #endif
 #ifdef MSW
 #include <io.h>
@@ -22,6 +21,7 @@
 #include "m_pd.h"
 #include "s_stuff.h"
 #include <stdio.h>
+#include <sys/stat.h>
 #ifdef _MSC_VER  /* This is only for Microsoft's compiler, not cygwin, e.g. */
 #define snprintf sprintf_s
 #endif
-- 
GitLab