summaryrefslogtreecommitdiff
path: root/emulators/libretro-beetle-saturn
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-09-07 00:12:45 +0000
committernia <nia@pkgsrc.org>2018-09-07 00:12:45 +0000
commit6cea5c62cd61c56a5008b27b67ab93c848361eca (patch)
tree98b2593a851cde7891b2a9b364fc059d9ff07e95 /emulators/libretro-beetle-saturn
parenta53c9405e5586ad22f7336164bf1af4c14765d08 (diff)
downloadpkgsrc-6cea5c62cd61c56a5008b27b67ab93c848361eca.tar.gz
libretro-beetle-(psx|saturn): Define _POSIX_C_SOURCE for CLOCK_REALTIME
hopefully appeases FreeBSD.
Diffstat (limited to 'emulators/libretro-beetle-saturn')
-rw-r--r--emulators/libretro-beetle-saturn/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/libretro-beetle-saturn/Makefile b/emulators/libretro-beetle-saturn/Makefile
index 6ba9be85484..206af30aee0 100644
--- a/emulators/libretro-beetle-saturn/Makefile
+++ b/emulators/libretro-beetle-saturn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/12 13:22:43 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
DISTNAME= libretro-beetle-saturn-20180620
CATEGORIES= emulators
@@ -23,6 +23,8 @@ ONLY_FOR_PLATFORM= *-*-x86_64
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+CFLAGS+= -D_POSIX_C_SOURCE=200112L
+
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"