diff options
author | 2015-02-04 17:29:50 -0800 | |
---|---|---|
committer | 2015-02-04 17:29:50 -0800 | |
commit | 53476f1d0e52dfa21fa5363fe29396e96748ab14 (patch) | |
tree | 730a5597e4924223dee1ac9e3d33ec475cc864c4 /test | |
parent | 4beb1d0d215b43320c05e37e504bb131dd95f0d1 (diff) | |
parent | 2078a7ec58d3747a32bc04c59d8b79e8a94148c1 (diff) |
Merge pull request #396 from dklempner/source_cleanup
Fix up feature test macros
Diffstat (limited to 'test')
-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> |