mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-27 20:59:45 +03:00
build: help Haiku find the header files that define mkstemps()
The documentation (https://www.haiku-os.org/docs/api/libroot.html) says that BSD extensions are enabled by default, but somehow this does not seem to be the case on my system. With _DEFAULT_SOURCE defined, though, src/files.c now compiles fine.
This commit is contained in:
parent
f429ebe34d
commit
47c8e627f4
@ -29,6 +29,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__HAIKU__) && !defined(_DEFAULT_SOURCE)
|
||||
#define _DEFAULT_SOURCE 1
|
||||
#endif
|
||||
|
||||
#ifdef __TANDEM
|
||||
/* Tandem NonStop Kernel support. */
|
||||
#include <floss.h>
|
||||
|
Loading…
Reference in New Issue
Block a user