diff options
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/echo/echo_test.c | 3 | ||||
-rw-r--r-- | test/core/fling/fling_stream_test.c | 3 | ||||
-rw-r--r-- | test/core/fling/fling_test.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/test/core/echo/echo_test.c b/test/core/echo/echo_test.c index 83b83ab7ff..5450dfbef5 100644 --- a/test/core/echo/echo_test.c +++ b/test/core/echo/echo_test.c @@ -31,7 +31,10 @@ * */ +#ifndef _POSIX_SOURCE #define _POSIX_SOURCE +#endif + #include <unistd.h> #include <assert.h> #include <stdio.h> diff --git a/test/core/fling/fling_stream_test.c b/test/core/fling/fling_stream_test.c index 7f52fb1bad..1db2f1a791 100644 --- a/test/core/fling/fling_stream_test.c +++ b/test/core/fling/fling_stream_test.c @@ -31,7 +31,10 @@ * */ +#ifndef _POSIX_SOURCE #define _POSIX_SOURCE +#endif + #include <unistd.h> #include <assert.h> #include <stdio.h> diff --git a/test/core/fling/fling_test.c b/test/core/fling/fling_test.c index b2272f20c8..4f41a21aaa 100644 --- a/test/core/fling/fling_test.c +++ b/test/core/fling/fling_test.c @@ -31,7 +31,10 @@ * */ +#ifndef _POSIX_SOURCE #define _POSIX_SOURCE +#endif + #include <unistd.h> #include <assert.h> #include <stdio.h> |