Browse Source

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.
Rolf Eike Beer 12 years ago
parent
commit
1a2a6ba4b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/CTestTestMemcheck/memtester.cxx.in

+ 1 - 1
Tests/CTestTestMemcheck/memtester.cxx.in

@@ -1,5 +1,5 @@
-#include <string>
 #include <cmSystemTools.h>
+#include <string>
 
 #define RETVAL @_retval@