diff options
author | Adrian Negreanu <[email protected]> | 2014-06-06 12:16:11 +0300 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-06-09 22:51:34 +0100 |
commit | 6eb3888c863dfef249c3910dbe3fe1f2b251db05 (patch) | |
tree | 39b49d450a22d9441a68e6eda137624c1da83cb5 /src/mesa | |
parent | 6980cae6aeb6671b6b0245e20a2d34957c1fff0a (diff) |
android, mesa_gen_matypes: pull in timespec POSIX definition
This fixes:
include/c11/threads_posix.h: In function 'cnd_timedwait':
include/c11/threads_posix.h:140:21: error: storage size of 'abs_time' isn't known
Cc: "10.1 10.2" <[email protected]>
Signed-off-by: Adrian Negreanu <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/Android.libmesa_glsl_utils.mk | 1 | ||||
-rw-r--r-- | src/mesa/Android.mesa_gen_matypes.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/Android.libmesa_glsl_utils.mk b/src/mesa/Android.libmesa_glsl_utils.mk index 47f2e151b40..e93891f07d9 100644 --- a/src/mesa/Android.libmesa_glsl_utils.mk +++ b/src/mesa/Android.libmesa_glsl_utils.mk @@ -56,6 +56,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := libmesa_glsl_utils LOCAL_IS_HOST_MODULE := true +LOCAL_CFLAGS := -D_POSIX_C_SOURCE=199309L LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/glsl \ diff --git a/src/mesa/Android.mesa_gen_matypes.mk b/src/mesa/Android.mesa_gen_matypes.mk index 6e301f90416..5521087c4fa 100644 --- a/src/mesa/Android.mesa_gen_matypes.mk +++ b/src/mesa/Android.mesa_gen_matypes.mk @@ -33,6 +33,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := mesa_gen_matypes LOCAL_IS_HOST_MODULE := true +LOCAL_CFLAGS := -D_POSIX_C_SOURCE=199309L LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/mapi \ |