diff --git a/clients/roscpp/src/libros/transport/transport_udp.cpp b/clients/roscpp/src/libros/transport/transport_udp.cpp index c7d8298f98..47d969eea4 100644 --- a/clients/roscpp/src/libros/transport/transport_udp.cpp +++ b/clients/roscpp/src/libros/transport/transport_udp.cpp @@ -48,6 +48,9 @@ #elif defined(__ANDROID__) // For readv() and writev() on ANDROID #include +#elif defined(_POSIX_VERSION) + // For readv() and writev() + #include #endif namespace ros