]> Savannah Git Hosting - gnulib.git/commitdiff
uchar: Fix error when <uchar.h> is included twice.
authorBruno Haible <bruno@clisp.org>
Thu, 18 May 2023 13:39:19 +0000 (15:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 20 May 2023 09:00:35 +0000 (11:00 +0200)
* lib/uchar.in.h: Fix double-inclusion guard.

ChangeLog
lib/uchar.in.h

index 6a17a1e3bf309d0158ada3edc74b0dc0b39414fd..4b2440fd3db2e3fee603b77eb54a7d1301fee554 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-05-18  Bruno Haible  <bruno@clisp.org>
+
+       uchar: Fix error when <uchar.h> is included twice.
+       * lib/uchar.in.h: Fix double-inclusion guard.
+
 2023-05-04  Bruno Haible  <bruno@clisp.org>
 
        wcswidth: Fix result in case of overflow.
index 15fd7bc1ebfb4430e61e22616cd879b2312ffb19..ab7c1f2d94ea6562da87c6665f688f187437d59a 100644 (file)
@@ -1,5 +1,5 @@
 /* <uchar.h> substitute - 16-bit and 32-bit wide character types.
-   Copyright (C) 2019-2022 Free Software Foundation, Inc.
+   Copyright (C) 2019-2023 Free Software Foundation, Inc.
 
    This file is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as
@@ -21,6 +21,7 @@
  */
 
 #ifndef _@GUARD_PREFIX@_UCHAR_H
+#define _@GUARD_PREFIX@_UCHAR_H
 
 #if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@