From ebe1a956f0b684048e6f881eabb7e6e232a98ae2 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 22 Jun 2009 19:13:47 +0000 Subject: [PATCH] * fixed a warning git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31181 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/system/libroot/posix/mbtest.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tests/system/libroot/posix/mbtest.c b/src/tests/system/libroot/posix/mbtest.c index 1996fec531..7b362aa690 100755 --- a/src/tests/system/libroot/posix/mbtest.c +++ b/src/tests/system/libroot/posix/mbtest.c @@ -1,12 +1,13 @@ #include #include #include +#include int main(int argc, char** argv) { - + setlocale(LC_CTYPE, ""); - + printf("Len: %i\n", mblen(argv[1], SSIZE_MAX)); - + return 0; }