Fixed broken friend declaration.

Signed-off-by: Timo J. Rinne <tri@iki.fi>