summaryrefslogtreecommitdiffstats
path: root/source/lib/util_file.c
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
commit15d53fd53c622de316d0ff41f1b60f0e2c69f908 (patch)
treeaf4ca208ed7d1dfcdcdb89190f22311b747af323 /source/lib/util_file.c
parent02ae82fb3f70dc37e815d8e88bfd31a8c3ff43db (diff)
downloadsamba-15d53fd53c622de316d0ff41f1b60f0e2c69f908.tar.gz
samba-15d53fd53c622de316d0ff41f1b60f0e2c69f908.tar.xz
samba-15d53fd53c622de316d0ff41f1b60f0e2c69f908.zip
fix compile error on HP-UX 10.20
Diffstat (limited to 'source/lib/util_file.c')
-rw-r--r--source/lib/util_file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/lib/util_file.c b/source/lib/util_file.c
index 638a6ca3429..bd505ac921c 100644
--- a/source/lib/util_file.c
+++ b/source/lib/util_file.c
@@ -20,6 +20,11 @@
#include "includes.h"
+#ifndef MAP_FAILED
+#define MAP_FAILED ((void *)-1)
+#endif
+
+
static int gotalarm;
/***************************************************************