From: Bruno Haible Date: Wed, 30 Apr 2025 14:43:06 +0000 (+0200) Subject: build: Take the mem-hash-map module from Gnulib now, part 2. X-Git-Tag: v0.24.1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=096228bcaf5c8338d694607e69339f7910b96daf;p=thirdparty%2Fgettext.git build: Take the mem-hash-map module from Gnulib now, part 2. * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add next-prime. * gettext-tools/src/write-mo.c: Include next-prime.h. * gettext-tools/src/write-qt.c: Likewise. --- diff --git a/autogen.sh b/autogen.sh index 637b10d5b..da1221afa 100755 --- a/autogen.sh +++ b/autogen.sh @@ -218,6 +218,7 @@ if ! $skip_gnulib; then memset minmax mkdir + next-prime noreturn obstack open diff --git a/gettext-tools/src/write-mo.c b/gettext-tools/src/write-mo.c index 73e6a9ea7..390deaff3 100644 --- a/gettext-tools/src/write-mo.c +++ b/gettext-tools/src/write-mo.c @@ -1,5 +1,5 @@ /* Writing binary .mo files. - Copyright (C) 1995-2024 Free Software Foundation, Inc. + Copyright (C) 1995-2025 Free Software Foundation, Inc. Written by Ulrich Drepper , April 1995. This program is free software: you can redistribute it and/or modify @@ -42,6 +42,7 @@ #include "mem-hash-map.h" #include "message.h" #include "format.h" +#include "next-prime.h" #include "xsize.h" #include "xalloc.h" #include "xmalloca.h" diff --git a/gettext-tools/src/write-qt.c b/gettext-tools/src/write-qt.c index 5326c3fbe..706525196 100644 --- a/gettext-tools/src/write-qt.c +++ b/gettext-tools/src/write-qt.c @@ -1,5 +1,5 @@ /* Writing Qt .qm files. - Copyright (C) 2003-2024 Free Software Foundation, Inc. + Copyright (C) 2003-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software: you can redistribute it and/or modify @@ -33,6 +33,7 @@ #include "attribute.h" #include "xerror.h" #include "message.h" +#include "next-prime.h" #include "po-charset.h" #include "msgl-iconv.h" #include "xerror-handler.h"