diff --git a/src/definitions.h b/src/definitions.h index b7b75e86..2ce72260 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -29,6 +29,10 @@ #endif #endif +#if defined(__HAIKU__) && !defined(_DEFAULT_SOURCE) +#define _DEFAULT_SOURCE 1 +#endif + #ifdef __TANDEM /* Tandem NonStop Kernel support. */ #include