uboot-ar71xx: fix gcc 5.2 compile errors
[openwrt/openwrt.git] / toolchain / gcc / patches / 4.9-linaro / 208-musl_gomp.patch
1 --- a/libgomp/config/posix/time.c
2 +++ b/libgomp/config/posix/time.c
3 @@ -28,6 +28,8 @@
4 The following implementation uses the most simple POSIX routines.
5 If present, POSIX 4 clocks should be used instead. */
6
7 +#define _POSIX_C_SOURCE 199309L /* for clocks */
8 +
9 #include "libgomp.h"
10 #include <unistd.h>
11 #if TIME_WITH_SYS_TIME