From: Brian Paul Date: Tue, 28 Oct 2008 00:15:56 +0000 (-0600) Subject: cell: added -D_BSD_SOURCE flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b9b42befaf4b416e1bae423a436f4e1722a62bf;p=mesa.git 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. --- 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)