X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funistr%2Fu8-strstr.c;h=7b5cba4f8c23dc786b6559b24caa8ca748195a6a;hb=d462d9f08cc8fd534ccae14c878f9c7c18112237;hp=7a7d6c1bbed225f015313346b2f5d55ddd0281df;hpb=1b274345aea44fe340a8e5e349b6e61cb865bc12;p=gnulib.git diff --git a/lib/unistr/u8-strstr.c b/lib/unistr/u8-strstr.c index 7a7d6c1bb..7b5cba4f8 100644 --- a/lib/unistr/u8-strstr.c +++ b/lib/unistr/u8-strstr.c @@ -1,5 +1,5 @@ /* Substring test for UTF-8 strings. - Copyright (C) 1999, 2002, 2006, 2010 Free Software Foundation, Inc. + Copyright (C) 1999, 2002, 2006, 2010-2012 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software: you can redistribute it and/or modify it @@ -20,10 +20,13 @@ /* Specification. */ #include "unistr.h" +#include + /* FIXME: Maybe walking the string via u8_mblen is a win? */ #define FUNC u8_strstr #define UNIT uint8_t #define U_STRCHR u8_strchr #define U_STRMBTOUC u8_strmbtouc +#define UNIT_IS_UINT8_T 1 #include "u-strstr.h"