This is a piece of code, extracted from GLIBC (Linux): http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz You need to take the following files from glibc-2.15\sysdeps\pthread, and put here: aio_cancel.c aio_fsync.c aio_misc.c aio_notify.c aio_read.c aio_read64.c aio_suspend.c aio_write.c aio_write64.c lio_listio.c lio_listio64.c aio_misc.h and aio_error.c aio_return.c aio.h from glibc-2.15\rt, and glibc-2.15\include\shlib-compat.h Valery V. Sedletski <_valerius@mail.ru>, Feb 14 2016.