From 2b9b42befaf4b416e1bae423a436f4e1722a62bf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 27 Oct 2008 18:15:56 -0600 Subject: [PATCH] cell: added -D_BSD_SOURCE flag Needed to get MAP_ANONYMOUS in execmem.c and to define timezone type in glxgears.c Adding -std=c99 earlier caused this regression. --- configs/linux-cell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/linux-cell b/configs/linux-cell index f68a6853c32..e45ea461658 100644 --- a/configs/linux-cell +++ b/configs/linux-cell @@ -26,7 +26,7 @@ SDK = /opt/cell/sdk/usr CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -std=c99 -mabi=altivec -maltivec \ -I. -I$(SDK)/include \ - -DGALLIUM_CELL -DUSE_XSHM + -DGALLIUM_CELL -DUSE_XSHM -D_BSD_SOURCE CXXFLAGS = $(CFLAGS) -- 2.30.2