summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-03-24 21:58:25 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-03-24 21:58:25 (GMT)
commite9fc7ff5052f3ab40c2b39ba653506c5346d4582 (patch)
tree7f659b0634c32c40ba4dc1de459dbe4ced0484ad /Source/QtDialog/CMakeSetup.cxx
parent3142808f15b0dabca8a5d66535c3f795ed470bac (diff)
downloadCMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.zip
CMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.tar.gz
CMake-e9fc7ff5052f3ab40c2b39ba653506c5346d4582.tar.bz2
Add self-sufficient wrapper for <sys/stat.h>
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 5e03c39..b2f0b2d 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -184,9 +184,9 @@ int main(int argc, char** argv)
}
#if defined(Q_OS_MAC)
+#include "cm_sys_stat.h"
#include <errno.h>
#include <string.h>
-#include <sys/stat.h>
#include <unistd.h>
static bool cmOSXInstall(std::string const& dir, std::string const& tool)
{