ICU-7087 Include missing header file for strcpy and strcat.

X-SVN-Rev: 26630
This commit is contained in:
Michael Ow 2009-09-14 17:39:35 +00:00
parent 67e5dae0ae
commit 403bffef0e

View file

@ -17,6 +17,7 @@
#include "unicode/unistr.h"
#include "unicode/regex.h"
#include "unicode/normlzr.h"
#include "cstring.h"
#include <stdlib.h>
#include <stdio.h>
@ -315,8 +316,8 @@ void IntlTestSpoof::testConfData() {
const char *testDataDir = IntlTest::getSourceTestData(status);
TEST_ASSERT_SUCCESS(status);
char buffer[2000];
strcpy(buffer, testDataDir);
strcat(buffer, "confusables.txt");
uprv_strcpy(buffer, testDataDir);
uprv_strcat(buffer, "confusables.txt");
FILE *f = NULL;
f = fopen(buffer, "rb");