diff --git a/scripts/bbpe/generate_bbpe_table.py b/scripts/bbpe/generate_bbpe_table.py index c0416b27a..0b5204241 100755 --- a/scripts/bbpe/generate_bbpe_table.py +++ b/scripts/bbpe/generate_bbpe_table.py @@ -36,6 +36,7 @@ def main(): s += "\n" s += '#include "sherpa-onnx/csrc/bbpe.h"\n' s += "\n" + s += "#include \n" s += "#include \n" s += "#include \n" s += "\n" diff --git a/sherpa-onnx/csrc/bbpe.cc b/sherpa-onnx/csrc/bbpe.cc index d4696132e..1aa67ffa8 100644 --- a/sherpa-onnx/csrc/bbpe.cc +++ b/sherpa-onnx/csrc/bbpe.cc @@ -6,6 +6,7 @@ #include "sherpa-onnx/csrc/bbpe.h" +#include #include #include diff --git a/sherpa-onnx/csrc/bbpe.h b/sherpa-onnx/csrc/bbpe.h index 8c317f83d..0b6a4ecf3 100644 --- a/sherpa-onnx/csrc/bbpe.h +++ b/sherpa-onnx/csrc/bbpe.h @@ -4,6 +4,7 @@ #ifndef SHERPA_ONNX_CSRC_BBPE_H_ #define SHERPA_ONNX_CSRC_BBPE_H_ +#include #include #include