summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-05-21 20:58:36 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-05-21 20:58:36 (GMT)
commit1a2a6ba4b68dc59b8f5cae26458cc79ad3bb2750 (patch)
treed5db27307cbb79e0db3b7d20dbb1eacdd0bc8ed8 /Tests
parent4825d70e830395ebff09a7fba73eb6ff5661048b (diff)
downloadCMake-1a2a6ba4b68dc59b8f5cae26458cc79ad3bb2750.zip
CMake-1a2a6ba4b68dc59b8f5cae26458cc79ad3bb2750.tar.gz
CMake-1a2a6ba4b68dc59b8f5cae26458cc79ad3bb2750.tar.bz2
Tests: fix build of dummy memtester on AIX
Both <string> and <cmSystemTools.h> include <stdio.h> one or the other way. It looks like the CMake header adds a define that will cause another part of the system header to be used, resulting in conflicting definitions.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestTestMemcheck/memtester.cxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTestMemcheck/memtester.cxx.in b/Tests/CTestTestMemcheck/memtester.cxx.in
index 4609fa3..da6f5a4 100644
--- a/Tests/CTestTestMemcheck/memtester.cxx.in
+++ b/Tests/CTestTestMemcheck/memtester.cxx.in
@@ -1,5 +1,5 @@
-#include <string>
#include <cmSystemTools.h>
+#include <string>
#define RETVAL @_retval@