core: fix build on macOS (closes #1662)
This commit is contained in:
parent
bfa0b4376c
commit
0b7e4977be
@ -33,6 +33,10 @@ Tests::
|
||||
|
||||
* core: add build on macOS in CI
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix build on macOS (issue #1662)
|
||||
|
||||
[[v3.2]]
|
||||
== Version 3.2 (2021-06-13)
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user