aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index 870a650..3ef87fb 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -42,6 +42,9 @@
/* The new non-deprecated version of _BSD_SOURCE */
#define _DEFAULT_SOURCE
+/* Fix MacOS realpath() broken around Catalina (#83) */
+#define _DARWIN_BETTER_REALPATH
+
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>