diff --git a/compiler/posixc/getc_unlocked.c b/compiler/posixc/getc_unlocked.c index e9bb24fa9e..83398f1715 100644 --- a/compiler/posixc/getc_unlocked.c +++ b/compiler/posixc/getc_unlocked.c @@ -45,5 +45,5 @@ ******************************************************************************/ { - return getc(stream); + return fgetc(stream); }