cell: added -D_BSD_SOURCE flag
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 28 Oct 2008 00:15:56 +0000 (18:15 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 28 Oct 2008 00:16:34 +0000 (18:16 -0600)
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

index f68a685..e45ea46 100644 (file)
@@ -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)