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 f68a6853c3205ff23745358a142ab023cf73020b..e45ea46165839d9ca852449a442252ee140f6710 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)