--- libeio/eio.c 2011/07/14 19:31:43 1.88 +++ libeio/eio.c 2011/07/14 22:36:17 1.89 @@ -60,7 +60,6 @@ #include #include -#include /* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */ /* intptr_t only comes from stdint.h, says idiot openbsd coder */ #if HAVE_STDINT_H @@ -1201,7 +1200,7 @@ } #if !_POSIX_MEMLOCK -# define eio__mlockall(a) eio_nosyscall() +# define eio__mlockall(a) EIO_ENOSYS () #else static int