Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2440 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2009-04-09 17:39:20 +00:00
parent ff5c18bee8
commit 80552616ce
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -17,6 +17,7 @@ NEWS
* Rename configure.in to configure.ac, with small cleanups (fixes #1932)
* Add proper SUID bit detection (fixes #416)
* Check for regular file in mod_cgi, so we don't try to start directories
* Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923)
- 1.4.22 - 2009-03-07
* Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml (fixes #533)

View File

@ -3,6 +3,7 @@
#include "buffer.h"
#include "array.h"
#include "sys-mmap.h"
typedef struct chunk {
enum { UNUSED_CHUNK, MEM_CHUNK, FILE_CHUNK } type;