From 28dc59aa72a6c8c1d398db2b35374127e736f084 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Tue, 9 Aug 2022 09:13:36 +0200
Subject: [PATCH] fluid~: Windows/msys2 fixes.

---
 externals/fluid~/fluid~.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/externals/fluid~/fluid~.c b/externals/fluid~/fluid~.c
index f04862aa1..7068e7ba9 100644
--- a/externals/fluid~/fluid~.c
+++ b/externals/fluid~/fluid~.c
@@ -8,6 +8,8 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <fcntl.h>
+// needed to get S_IRUSR etc. in msys2
+#include <sys/stat.h>
 
 #include "m_pd.h"
  
-- 
GitLab