summaryrefslogtreecommitdiff
path: root/Source/cmWriteFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-02 15:03:45 -0400
committerBrad King <brad.king@kitware.com>2016-05-03 10:08:41 -0400
commitbe14fe4857299ccd5918e6b1f8db0f0587db2850 (patch)
treed304c24237d08ca072586d3f6cddbeb81d85c535 /Source/cmWriteFileCommand.cxx
parent5e871f708907d0d70cf3f0f68da6b9cc617f376e (diff)
downloadcmake-be14fe4857299ccd5918e6b1f8db0f0587db2850.tar.gz
Source: Stabilize include order of sys/types.h before sys/stat.h
Include the two headers in an isolated block with a comment separating them so that tools that re-order includes do not re-order these.
Diffstat (limited to 'Source/cmWriteFileCommand.cxx')
-rw-r--r--Source/cmWriteFileCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index d52d6b5d6a..c4468f3348 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -14,6 +14,7 @@
#include <cmsys/FStream.hxx>
#include <sys/types.h>
+// include sys/stat.h after sys/types.h
#include <sys/stat.h>
// cmLibraryCommand