From: Oliver Schmidt Date: Sun, 9 Feb 2014 00:19:40 +0000 (+0100) Subject: Define _SVID_SOURCE to get tempnam(). X-Git-Tag: V2.15~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47828e1059d3cc857b14849f8d166468b03999b8;p=cc65 Define _SVID_SOURCE to get tempnam(). --- diff --git a/src/Makefile b/src/Makefile index 9a8807e37..66b64d732 100644 --- a/src/Makefile +++ b/src/Makefile @@ -25,7 +25,7 @@ LD65_LIB = $(datadir)/lib LD65_OBJ = $(datadir)/lib LD65_CFG = $(datadir)/cfg -CFLAGS += -MMD -MP -O -std=c89 -I common \ +CFLAGS += -MMD -MP -O -std=c89 -D_SVID_SOURCE -I common \ -Wall -Wextra -Wno-char-subscripts -Werror $(USER_CFLAGS) \ -DCA65_INC=$(CA65_INC) -DCC65_INC=$(CC65_INC) \ -DLD65_LIB=$(LD65_LIB) -DLD65_OBJ=$(LD65_OBJ) -DLD65_CFG=$(LD65_CFG)