[cmake-developers] [PATCH] Fix building on musl-libc
Kylie McClain
somasissounds at gmail.com
Wed Nov 25 23:15:57 EST 2015
Hi, this is a really short patch that fixes building cmake on musl-libc.
>From 82a5d7b428b172106109fbd14364167e9c0367d8 Mon Sep 17 00:00:00 2001
From: Kylie McClain <somasis at exherbo.org>
Date: Wed, 25 Nov 2015 18:12:06 -0500
Subject: [PATCH] Fix building on musl-libc
---
Source/cmStandardIncludes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index dd8fa9c..ec15cb1 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -54,6 +54,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
--
2.6.3
More information about the cmake-developers
mailing list