shared: add missing include

Needed for socketpair, recv