Project

General

Profile

Bug #1049

AIO on Mac OS X

Added by Anonymous over 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

settings.patch (371 Bytes) settings.patch patch -- lingwitt Anonymous, 2007-02-24 08:01

Associated revisions

Revision 1693 (diff)
Added by jan over 12 years ago

fixed compilation of aio support on macosx (fixes #1049)

History

#1

Updated by jan over 12 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

applied in r1693

Also available in: Atom