summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-08 14:00:51 +0000
committerGerald Carter <jerry@samba.org>2003-09-08 14:00:51 +0000
commit7a0b58a012590009a0d05430ea0c75ac4509830c (patch)
tree7660d8571ba97ea1d4846e66b6f5fe8328924f26 /source3
parent154451465b4e92ef506d22d8c307f7158b372172 (diff)
downloadsamba-7a0b58a012590009a0d05430ea0c75ac4509830c.tar.gz
samba-7a0b58a012590009a0d05430ea0c75ac4509830c.tar.bz2
samba-7a0b58a012590009a0d05430ea0c75ac4509830c.zip
fix compile error on HP-UX 10.20
(This used to be commit 15d53fd53c622de316d0ff41f1b60f0e2c69f908)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_file.c5
1 files changed, 5 insertions, 0 deletions
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;
/***************************************************************