$NetBSD: patch-ah,v 1.1 2006/02/19 01:40:26 schwarz Exp $ --- compile_world.c.orig 2006-02-19 02:24:33.000000000 +0100 +++ compile_world.c 2006-02-19 02:26:05.000000000 +0100 @@ -41,6 +41,11 @@ #define MAP_FILE 0x0 #endif +/* IRIX 5 hack: */ +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + int main() {