Tests/CMakeLib: include what you use

This commit is contained in:
Daniel Pfeifer 2016-09-01 20:04:35 +02:00 committed by Brad King
parent 3f9c4cdf89
commit 5414084818
3 changed files with 7 additions and 4 deletions

View File

@ -12,6 +12,9 @@
#include "cmGeneratedFileStream.h" #include "cmGeneratedFileStream.h"
#include "cmSystemTools.h" #include "cmSystemTools.h"
#include <iostream>
#include <string>
#define cmFailed(m1, m2) \ #define cmFailed(m1, m2) \
std::cout << "FAILED: " << m1 << m2 << "\n"; \ std::cout << "FAILED: " << m1 << m2 << "\n"; \
failed = 1 failed = 1

View File

@ -10,9 +10,7 @@
See the License for more information. See the License for more information.
============================================================================*/ ============================================================================*/
#include <cm_utf8.h> #include <cm_utf8.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
typedef char test_utf8_char[5]; typedef char test_utf8_char[5];

View File

@ -9,9 +9,11 @@
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License for more information. See the License for more information.
============================================================================*/ ============================================================================*/
#include <cmXMLSafe.h> #include "cmXMLSafe.h"
#include "cmStandardIncludes.h" #include <sstream>
#include <stdio.h>
#include <string>
struct test_pair struct test_pair
{ {