libpjsip: fix musl build
Fix two different build issues when building against musl.
Fixes:
http://autobuild.buildroot.net/results/e5c/
e5c85272b5561549dfc478264ee6507bb9ad8c9f/
Based on an Alpine Linux patch [0] as suggested by Thomas [1].
[0] http://git.alpinelinux.org/cgit/aports/plain/main/pjproject/musl-fixes.patch
[1] http://lists.busybox.net/pipermail/buildroot/2016-March/155056.html
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>