lttng-tools: fix musl build
Add two patches fixing musl build issues:
* musl doesn't provide the __GLIBC_PREREQ macro
* musl requires sys/types.h for mode_t
Fixes:
http://autobuild.buildroot.net/results/ac9/
ac9aa3b6c468a0a6ba84758d3c9c8acc20d7fa00/
http://autobuild.buildroot.net/results/40f/
40f11afb0512a89dcdad332d28ff1c5fcc435e7f/
http://autobuild.buildroot.net/results/3c6/
3c66b5f05b482f33d1bc6eabe817f6d7aa21086d/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>