summaryrefslogtreecommitdiff
path: root/mailsplit.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-10-08 15:54:36 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-08 15:54:36 -0700
commit730d48a2ef88a7fb7aa4409d40b1e6964a93267f (patch)
tree4dda7a024e31f618f849df65f142f1e30fe617a5 /mailsplit.c
parentd119e3de13ea1493107bd57381d0ce9c9dd90976 (diff)
downloadgit-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.c1
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>