summaryrefslogtreecommitdiff
path: root/emulators/libretro-beetle-psx
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-psx
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-psx')
-rw-r--r--emulators/libretro-beetle-psx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/libretro-beetle-psx/Makefile b/emulators/libretro-beetle-psx/Makefile
index e34d73f2404..62c93a313dc 100644
--- a/emulators/libretro-beetle-psx/Makefile
+++ b/emulators/libretro-beetle-psx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 00:19:58 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
DISTNAME= libretro-beetle-psx-20180808
CATEGORIES= emulators
@@ -18,6 +18,8 @@ USE_LANGUAGES= c c++
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+CFLAGS+= -D_POSIX_C_SOURCE=200112L
+
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"