]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid possible problems in C++ mode.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Oct 2023 20:48:31 +0000 (22:48 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2023 12:55:58 +0000 (14:55 +0200)
* gettext-tools/src/po-xerror.h: Move the #include outside the extern "C" {...}
block.

gettext-tools/src/po-xerror.h

index cfc9a20a5ba1c9e8b94113f4a5dfe63ccd8df1cf..726af227a407c8c40a0fff3a634364351d0e7648 100644 (file)
@@ -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 <bruno@clisp.org>, 2005.
 
    This program is free software: you can redistribute it and/or modify
 #ifndef _PO_XERROR_H
 #define _PO_XERROR_H
 
+#include <stddef.h>
+
 #ifdef __cplusplus
 extern "C" {
-#endif 
-
-#include <stddef.h>
+#endif
 
 struct message_ty;