#include <simgear/compiler.h>
#include <simgear/debug/logstream.hxx>
+
SG_USING_STD(sort);
#endif
+#include <algorithm>
+#include <stdio.h>
#include <string.h>
// For some reason, strnlen and
// strncpy cause all kinds of crashes.
string str = s;
- size_t len = strlen(s);
char * copy = new char[str.size() + 1];
strcpy(copy, str.c_str());
return copy;