Add missing prototype for fake_writev().
Add missing include.

peer.h is required for alloc_peer().