summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-27 18:15:56 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-27 18:16:34 -0600
commit2b9b42befaf4b416e1bae423a436f4e1722a62bf (patch)
treee5c95f279c95c8b05e3a4e1f98cb429e3cbf4334 /configs
parenta1754424b6597219f436091dec1de4713719c4b8 (diff)
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.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-cell2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell
index f68a6853c3..e45ea46165 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)