X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fchannels-aio-fd.c;h=3cac823c5c0943ceb37e11bd816264ae81373e70;hb=bc2e55e940e45748a49f1a7eb44b156917fca469;hp=677944b85957c90c3c5cd46a2168c064b679c89c;hpb=e40d5bf3a0e030105334046319f377efbf3f06c4;p=meshlink diff --git a/test/channels-aio-fd.c b/test/channels-aio-fd.c index 677944b8..3cac823c 100644 --- a/test/channels-aio-fd.c +++ b/test/channels-aio-fd.c @@ -2,6 +2,8 @@ #undef NDEBUG #endif +#define _POSIX_C_SOURCE 200809L + #include #include #include @@ -173,4 +175,5 @@ int main(void) { // Clean up. close_meshlink_pair(mesh_a, mesh_b); + free(outdata); }