From 0d5aec1211d900a532a66830d814cd5358c96b3a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 10 Feb 2009 00:09:04 +0000 Subject: add mmap()/munmap() implementation for Windows --- utils/porting.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'utils/porting.h') diff --git a/utils/porting.h b/utils/porting.h index becd7acaa..6bb7fa91f 100644 --- a/utils/porting.h +++ b/utils/porting.h @@ -22,10 +22,18 @@ #include #include #include -#include + +#ifdef __LDSO_LDD_SUPPORT__ +# include +#endif + +#if defined(_WIN32) || defined(_WINNT) +# include "mmap-windows.c" +#else +# include +#endif #include -#include /* makefile will include elf.h for us */ #include "bswap.h" -- cgit v1.2.3