From 5509aeb88705728eedde3735051561323fec7f2a Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Fri, 10 Jun 2016 15:59:23 -0400 Subject: [PATCH] very stupid kludge just to get the code to compile on Windows-- this needs to get fixed by a more complete backport of Pd Vanilla's s_path.c code --- pd/src/s_path.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pd/src/s_path.c b/pd/src/s_path.c index 037e03b5f..a1ef27921 100644 --- a/pd/src/s_path.c +++ b/pd/src/s_path.c @@ -18,8 +18,9 @@ #include <unistd.h> #include <sys/stat.h> #endif -#ifdef MSW +#ifdef _WIN32 #include <io.h> +#include <sys/stat.h> #include <windows.h> #endif -- GitLab