summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorjan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9>2007-02-25 12:35:57 +0000
committerjan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9>2007-02-25 12:35:57 +0000
commit0d7cca44b688290ab1ae6c8b5ebc8e2fdda1f20e (patch)
treefa9ccbcc2ee68c5e2ec8e7e6a08cb479b07ca430 /src/settings.h
parent5efb06cab476d2e3230c66de705eecd99b1d43db (diff)
downloadlighttpd-0d7cca44b688290ab1ae6c8b5ebc8e2fdda1f20e.tar.gz
fixed compilation of aio support on macosx (fixes #1049)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@1693 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index a9f0e91c..0c69b7a8 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -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> /* macosx wants it */
# include <aio.h>
# endif
# ifdef HAVE_MMAP