… | |
… | |
57 | #include <sys/stat.h> |
57 | #include <sys/stat.h> |
58 | #include <sys/statvfs.h> |
58 | #include <sys/statvfs.h> |
59 | #include <limits.h> |
59 | #include <limits.h> |
60 | #include <fcntl.h> |
60 | #include <fcntl.h> |
61 | #include <assert.h> |
61 | #include <assert.h> |
|
|
62 | |
|
|
63 | /* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */ |
|
|
64 | /* intptr_t only comes form stdint.h, says idiot openbsd coder */ |
|
|
65 | #if HAVE_STDINT_H |
|
|
66 | # include <stdint.h> |
|
|
67 | #endif |
62 | |
68 | |
63 | #ifndef EIO_FINISH |
69 | #ifndef EIO_FINISH |
64 | # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 |
70 | # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 |
65 | #endif |
71 | #endif |
66 | |
72 | |