From: Steve Langasek Date: Sun, 18 Sep 2022 05:30:57 +0000 (+0100) Subject: include necessary headers to ensure IS_BIG_ENDIAN is defined X-Git-Tag: archive/raspbian/0.1.97-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f524368a9af16a9ac37455176df1ed0d36ea9fd7;p=sentencepiece.git include necessary headers to ensure IS_BIG_ENDIAN is defined Last-Update: 2022-08-27 Forwarded: no Bug-Debian: https://bugs.debian.org/1017360 normalizer.h uses IS_BIG_ENDIAN, which is defined in util.h. Include util.h here. Gbp-Pq: Name header-dependencies.patch --- diff --git a/src/normalizer.h b/src/normalizer.h index c79813c..37fdb8a 100644 --- a/src/normalizer.h +++ b/src/normalizer.h @@ -22,6 +22,7 @@ #include #include "common.h" +#include "util.h" #include "sentencepiece_model.pb.h" #include "sentencepiece_processor.h" #include "third_party/absl/strings/string_view.h"