From 7a0b58a012590009a0d05430ea0c75ac4509830c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 8 Sep 2003 14:00:51 +0000 Subject: fix compile error on HP-UX 10.20 (This used to be commit 15d53fd53c622de316d0ff41f1b60f0e2c69f908) --- source3/lib/util_file.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c index 638a6ca342..bd505ac921 100644 --- a/source3/lib/util_file.c +++ b/source3/lib/util_file.c @@ -20,6 +20,11 @@ #include "includes.h" +#ifndef MAP_FAILED +#define MAP_FAILED ((void *)-1) +#endif + + static int gotalarm; /*************************************************************** -- cgit