--- includes.h.orig 2006-01-07 10:05:47.000000000 -0500 +++ includes.h 2006-01-07 10:06:21.000000000 -0500 @@ -514,7 +514,7 @@ #include #endif -#ifdef HAVE_AIO_H +#if defined(HAVE_AIO_H) && defined(WITH_AIO) #include #endif