mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Haiku needs _BSD_SOURCE and <bsd/ifaddrs.h>
This commit is contained in:
committed by
Kurtis Rader
parent
6b536922af
commit
52c7ebe502
@@ -45,6 +45,11 @@
|
||||
#include <notify.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAIKU__
|
||||
#define _BSD_SOURCE
|
||||
#include <bsd/ifaddrs.h>
|
||||
#endif //Haiku
|
||||
|
||||
// NAME_MAX is not defined on Solaris and suggests the use of pathconf()
|
||||
// There is no obvious sensible pathconf() for shared memory and _XPG_NAME_MAX
|
||||
// seems a reasonable choice.
|
||||
|
||||
Reference in New Issue
Block a user