summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-03 09:20:42 -0400
committerBrad King <brad.king@kitware.com>2016-05-03 10:08:41 -0400
commita20d7d482113a5eba59bd7a51857c9403e75d7fd (patch)
tree751793bddbff0c3129cdb0076c8d9bc66194a156 /Tests
parente1c7747253ac71a5215dd32a910b62a1fd8c561a (diff)
downloadcmake-a20d7d482113a5eba59bd7a51857c9403e75d7fd.tar.gz
Tests: Fix Plugin test include order
Fix the order accidentally broken by commit e1c77472 (Format include directive blocks and ordering with clang-format, 2016-04-29). Include the KWSys header first in its own block so that it is not moved by tools that re-order includes. It must be included first to define large file support macros consistently.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Plugin/src/example_exe.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx
index 393bb680c0..fd23e8f3c9 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>