diff --git a/cpukit/include/rtems/posix/aio_misc.h b/cpukit/include/rtems/posix/aio_misc.h index 9cde600d58..deebd8d9f1 100644 --- a/cpukit/include/rtems/posix/aio_misc.h +++ b/cpukit/include/rtems/posix/aio_misc.h @@ -212,9 +212,9 @@ extern rtems_aio_queue aio_request_queue; #define AIO_MAX_THREADS 5 #endif -#ifndef AIO_LISTIO_MAX +/* Override AIO_LISTIO_MAX from newlib */ +#undef AIO_LISTIO_MAX #define AIO_LISTIO_MAX 20 -#endif #ifndef RTEMS_AIO_MAX #define RTEMS_AIO_MAX 100