diff --git a/cpp/winsharedutils/levenshtein.cpp b/cpp/winsharedutils/levenshtein.cpp index 12ac2e4c..4cfc02b9 100644 --- a/cpp/winsharedutils/levenshtein.cpp +++ b/cpp/winsharedutils/levenshtein.cpp @@ -1,5 +1,4 @@ -#include size_t lev_u_edit_distance(size_t len1, const wchar_t *string1, size_t len2, const wchar_t *string2, int xcost) @@ -157,6 +156,9 @@ size_t lev_u_edit_distance(size_t len1, const wchar_t *string1, free(row); return i; } +#ifndef WINXP +#include +#endif DECLARE_API size_t levenshtein_distance(size_t len1, const wchar_t *string1, size_t len2, const wchar_t *string2) {