[PATCH] src/p2p.c: fix build with uclibc