summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-03 14:16:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-03 14:16:55 (GMT)
commita0d31f3bb3e6c2c6329a6947e038d6f1c3303475 (patch)
treeac9092e0b0f61dc9a9a1a3dadd53c0aae85dfb31 /Tests
parent1109be2d90e053284991c2b9408a954f8d8e98ff (diff)
parent54f71cd72cb6e50ca72004aba80ff1d94f4a6a5a (diff)
downloadCMake-a0d31f3bb3e6c2c6329a6947e038d6f1c3303475.zip
CMake-a0d31f3bb3e6c2c6329a6947e038d6f1c3303475.tar.gz
CMake-a0d31f3bb3e6c2c6329a6947e038d6f1c3303475.tar.bz2
Merge topic 'clang-format-include-order'
54f71cd7 Source: Sort includes the way clang-format would 7b6ffa59 Source: Sort includes of sys/types.h as clang-format would be14fe48 Source: Stabilize include order of sys/types.h before sys/stat.h 5e871f70 Tests: Sort includes of sys/types.h as clang-format would a20d7d48 Tests: Fix Plugin test include order
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Plugin/src/example_exe.cxx3
-rw-r--r--Tests/TestsWorkingDirectory/main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx
index 393bb68..fd23e8f 100644
--- a/Tests/Plugin/src/example_exe.cxx
+++ b/Tests/Plugin/src/example_exe.cxx
@@ -1,9 +1,10 @@
+#include <kwsys/DynamicLoader.hxx>
+
#include <example.h>
#include <example_exe.h>
#include <iostream>
-#include <kwsys/DynamicLoader.hxx>
#include <string>
#include <stdio.h>
diff --git a/Tests/TestsWorkingDirectory/main.c b/Tests/TestsWorkingDirectory/main.c
index 3616f8e..d4b760c 100644
--- a/Tests/TestsWorkingDirectory/main.c
+++ b/Tests/TestsWorkingDirectory/main.c
@@ -38,8 +38,8 @@ static const char* Getcwd(char* buf, unsigned int len)
}
#else
-#include <sys/types.h>
#include <fcntl.h>
+#include <sys/types.h>
#include <unistd.h>
static const char* Getcwd(char* buf, unsigned int len)