Include necessary headers to ensure IS_BIG_ENDIAN is defined
authorKentaro Hayashi <kenhys@gmail.com>
Mon, 21 Nov 2022 13:17:18 +0000 (22:17 +0900)
committerKentaro Hayashi <kenhys@xdump.org>
Mon, 21 Nov 2022 13:43:46 +0000 (13:43 +0000)
normalizer.h uses IS_BIG_ENDIAN, which is defined in util.h.
Include util.h here.

Author: Steve Langasek <steve.langasek@ubuntu.com>
Last-Update: 2022-08-27
Forwarded: no
Bug-Debian: https://bugs.debian.org/1017360

Gbp-Pq: Name header-dependencies.patch

src/normalizer.h

index c79813c76ceea6a6edd9ca80d325b8db86d35e08..37fdb8ad9fe6fb6b5a87bac1fd963cbd517331fb 100644 (file)
@@ -22,6 +22,7 @@
 #include <vector>
 
 #include "common.h"
+#include "util.h"
 #include "sentencepiece_model.pb.h"
 #include "sentencepiece_processor.h"
 #include "third_party/absl/strings/string_view.h"