error: 'fprintf' was not declared in this scope

Change-Id: Ib7730481bdefdd33fd8354ff6f5bba36fc27c2fd