changeset 40154:df1c9ad85e3e

unigbrk/uc-grapheme-breaks: Fix build failure. * lib/unigbrk/uc-grapheme-breaks.c: Don't include unistr.h. * modules/unigbrk/uc-grapheme-breaks (Makefile.am): Fix typo.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 12:49:12 +0100
parents 878ddb87671b
children 84fd38f4932c
files ChangeLog lib/unigbrk/uc-grapheme-breaks.c modules/unigbrk/uc-grapheme-breaks
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 27 11:45:28 2019 +0100
+++ b/ChangeLog	Sun Jan 27 12:49:12 2019 +0100
@@ -1,3 +1,9 @@
+2019-01-27  Bruno Haible  <bruno@clisp.org>
+
+	unigbrk/uc-grapheme-breaks: Fix build failure.
+	* lib/unigbrk/uc-grapheme-breaks.c: Don't include unistr.h.
+	* modules/unigbrk/uc-grapheme-breaks (Makefile.am): Fix typo.
+
 2019-01-27  Bruno Haible  <bruno@clisp.org>
 
 	mountlist: Merge two .m4 files.
--- a/lib/unigbrk/uc-grapheme-breaks.c	Sun Jan 27 11:45:28 2019 +0100
+++ b/lib/unigbrk/uc-grapheme-breaks.c	Sun Jan 27 12:49:12 2019 +0100
@@ -22,8 +22,6 @@
 
 #include <string.h>
 
-#include "unistr.h"
-
 /* This is similar to u32_mbtouc_unsafe(), but doesn't check invalid
    characters.  */
 static int
--- a/modules/unigbrk/uc-grapheme-breaks	Sun Jan 27 11:45:28 2019 +0100
+++ b/modules/unigbrk/uc-grapheme-breaks	Sun Jan 27 12:49:12 2019 +0100
@@ -14,7 +14,7 @@
 gl_LIBUNISTRING_MODULE([0.9.8], [unigbrk/uc-grapheme-breaks])
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS
+if LIBUNISTRING_COMPILE_UNIGBRK_UC_GRAPHEME_BREAKS
 lib_SOURCES += unigbrk/uc-grapheme-breaks.c
 endif