mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Haiku needs _BSD_SOURCE and <bsd/ifaddrs.h>
This commit is contained in:
parent
6b536922af
commit
52c7ebe502
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@
|
||||||
#include <notify.h>
|
#include <notify.h>
|
||||||
#endif
|
#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()
|
// 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
|
// There is no obvious sensible pathconf() for shared memory and _XPG_NAME_MAX
|
||||||
// seems a reasonable choice.
|
// seems a reasonable choice.
|
||||||
|
|
Loading…
Reference in a new issue