mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-18 21:11:33 +02:00
https://github.com/asottile/ukkonen Implementation of bounded Levenshtein distance testing/
12 lines
305 B
Diff
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(
|