Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx> --- include/darwin.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/darwin.h b/include/darwin.h index d47c96c..2e16f65 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -33,6 +33,7 @@ #include <mach/mach_time.h> #include <inttypes.h> #include <stdio.h> +#include <sys/mman.h> #include <machine/endian.h> #define __BYTE_ORDER BYTE_ORDER @@ -217,6 +218,14 @@ static inline int timer_gettime (timer_t timerid, struct itimerspec *value) return getitimer(ITIMER_REAL, value); } +#define MREMAP_FIXED 1 +#define MREMAP_MAYMOVE 2 +static inline void *mremap(void *old_address, size_t old_size, + size_t new_size, int flags, ...) +{ + return MAP_FAILED; +} + /* FSR */ //#define statvfs64 statfs -- 2.4.5 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs