From: Bruno Haible Date: Wed, 4 Oct 2023 20:48:31 +0000 (+0200) Subject: Avoid possible problems in C++ mode. X-Git-Tag: v0.23~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a1440a63c2e1b60173e654e46d841c6c439f64;p=thirdparty%2Fgettext.git Avoid possible problems in C++ mode. * gettext-tools/src/po-xerror.h: Move the #include outside the extern "C" {...} block. --- diff --git a/gettext-tools/src/po-xerror.h b/gettext-tools/src/po-xerror.h index cfc9a20a5..726af227a 100644 --- a/gettext-tools/src/po-xerror.h +++ b/gettext-tools/src/po-xerror.h @@ -1,5 +1,5 @@ /* Error handling during reading and writing of PO files. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005-2023 Free Software Foundation, Inc. Written by Bruno Haible , 2005. This program is free software: you can redistribute it and/or modify @@ -18,11 +18,11 @@ #ifndef _PO_XERROR_H #define _PO_XERROR_H +#include + #ifdef __cplusplus extern "C" { -#endif - -#include +#endif struct message_ty;