aports/testing/py3-ukkonen/01-fix-musl-build.patch
Galen Abell 6eb30062f2 testing/py3-ukkonen: new aport
https://github.com/asottile/ukkonen
Implementation of bounded Levenshtein distance
testing/
2021-12-29 18:31:04 +00:00

12 lines
305 B
Diff

# Fixes musl builds: https://github.com/asottile/ukkonen/pull/7
diff --git a/_ukkonen.cpp b/_ukkonen.cpp
index 0acf39a..5060887 100644
--- a/_ukkonen.cpp
+++ b/_ukkonen.cpp
@@ -1,4 +1,5 @@
#include <algorithm>
+#include <cstdint>
#include <vector>
template <typename T> int64_t edit_distance_k_impl(