--- a/src/stream.c +++ b/src/stream.c @@ -81,6 +81,9 @@ #include #include #include +#ifndef _POSIX_SOURCE +#define _POSIX_SOURCE +#endif #include #endif