From 47828e1059d3cc857b14849f8d166468b03999b8 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sun, 9 Feb 2014 01:19:40 +0100
Subject: [PATCH] Define _SVID_SOURCE to get tempnam().
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.39.5