diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2005-10-08 15:54:36 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-08 15:54:36 -0700 |
commit | 730d48a2ef88a7fb7aa4409d40b1e6964a93267f (patch) | |
tree | 4dda7a024e31f618f849df65f142f1e30fe617a5 /mailsplit.c | |
parent | d119e3de13ea1493107bd57381d0ce9c9dd90976 (diff) | |
download | git-730d48a2ef88a7fb7aa4409d40b1e6964a93267f.tar.gz |
[PATCH] If NO_MMAP is defined, fake mmap() and munmap()
Since some platforms do not support mmap() at all, and others do only just
so, this patch introduces the option to fake mmap() and munmap() by
malloc()ing and read()ing explicitely.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Diffstat (limited to 'mailsplit.c')
-rw-r--r-- | mailsplit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mailsplit.c b/mailsplit.c index 7981f87a72..0f8100dcca 100644 --- a/mailsplit.c +++ b/mailsplit.c @@ -9,7 +9,6 @@ #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> -#include <sys/mman.h> #include <string.h> #include <stdio.h> #include <ctype.h> |