summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-dir.c b/src/core/wee-dir.c
index 5949035ff..aae69b267 100644
--- a/src/core/wee-dir.c
+++ b/src/core/wee-dir.c
@@ -26,6 +26,9 @@
/* for nftw() */
#define _XOPEN_SOURCE 700
+#if defined(__APPLE__)
+#define _DARWIN_C_SOURCE
+#endif
#ifdef HAVE_CONFIG_H
#include "config.h"