summaryrefslogtreecommitdiff
path: root/src/lib9/utf/utfrune.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/utf/utfrune.c')
-rw-r--r--src/lib9/utf/utfrune.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/utf/utfrune.c b/src/lib9/utf/utfrune.c
index 0136b2821..44675c989 100644
--- a/src/lib9/utf/utfrune.c
+++ b/src/lib9/utf/utfrune.c
@@ -11,7 +11,8 @@
* REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
*/
-#include <string.h>
+#include <u.h>
+#include <libc.h>
#include "utf.h"
#include "utfdef.h"
@@ -41,5 +42,4 @@ utfrune(const char *s, Rune c)
return (char*)s;
s += n;
}
- return 0;
}