Bug #1049
AIO on Mac OS X
| Status: | Fixed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | core | |||
| Target version: | 1.5.0 | |||
| Pending: | Resolution: | fixed |
||
Description
Revision 1691 requires this on Mac OS X, probably because of a bug in Apple's aio.h file:
(the following also included as a patch)
Index: src/settings.h =================================================================== --- src/settings.h (revision 1692) +++ src/settings.h (working copy) @@ -53,6 +53,7 @@ # if defined(HAVE_AIO_H) && (!defined(__FreeBSD__)) /* FreeBSD has no SIGEV_THREAD for us */ # define USE_POSIX_AIO +# include <sys/types.h> # include <aio.h> # endif # ifdef HAVE_MMAP
-- lingwitt
Associated revisions
fixed compilation of aio support on macosx (fixes #1049)