--- libeio/eio.c 2011/05/30 12:56:50 1.65 +++ libeio/eio.c 2011/06/05 19:58:37 1.66 @@ -60,6 +60,12 @@ #include #include +/* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */ +/* intptr_t only comes form stdint.h, says idiot openbsd coder */ +#if HAVE_STDINT_H +# include +#endif + #ifndef EIO_FINISH # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 #endif