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.
This commit is contained in:
Brian Paul
2008-10-27 18:15:56 -06:00
parent a1754424b6
commit 2b9b42befa

View 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)