From 672fa67afe6be08a10d7e5dbf2afdb0f8f932091 Mon Sep 17 00:00:00 2001 From: RetroFloppySupport <32302105+RetroFloppySupport@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:13:20 -0400 Subject: [PATCH] Minor tweaks for OSX build --- .gitignore | 1 + src/zooadd.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4d524a0..8ba5c0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.project *~ aclocal.m4 autom4te.cache/ diff --git a/src/zooadd.c b/src/zooadd.c index c8fe9cc..2581c7d 100644 --- a/src/zooadd.c +++ b/src/zooadd.c @@ -8,8 +8,9 @@ #include "options.h" #ifdef HAVE_NFTW -#define _XOPEN_SOURCE 500 /* Rrequired on GLIBC */ -#define _GNU_SOURCE /* -- " -- " -- " -- */ +#define _XOPEN_SOURCE 500 /* Required on GLIBC */ +#define _GNU_SOURCE /* -- " -- " -- " -- */ +#define _POSIX_C_SOURCE 200809L /* -- " -- " -- " -- */ #include #endif