aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmake/musl-header-fixes.patch
blob: edbdc270e346b89b6a1006f5814134fc885dac81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mode_t needs sys/stat.h

--- ./Source/cmStandardIncludes.h.orig
+++ ./Source/cmStandardIncludes.h
@@ -74,6 +74,8 @@
 
 #if defined( _MSC_VER )
 typedef unsigned short mode_t;
+#else
+#include <sys/stat.h>
 #endif
 
 // use this class to shrink the size of symbols in .o files