1 Subject: [PATCH] Work around bool type redefinition by altivec
3 On powerpc64le, the SDL header from SDL2 may include altivec.h and this
4 (combined with -std=c99) will cause a compile failure due to bool being
5 redefined as a vector type.
7 Re-include stdbool.h after SDL.h to restore the normal bool type.
9 Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
11 audio/out/ao_sdl.c | 1 +
12 1 file changed, 1 insertion(+)
14 diff --git a/audio/out/ao_sdl.c b/audio/out/ao_sdl.c
15 index d9d0062..0cb80d6 100644
16 --- a/audio/out/ao_sdl.c
17 +++ b/audio/out/ao_sdl.c
19 #include "osdep/timer.h"