git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1544514
)
fix compile error on HP-UX 10.20
author
Gerald Carter
<jerry@samba.org>
Mon, 8 Sep 2003 14:00:51 +0000
(14:00 +0000)
committer
Gerald Carter
<jerry@samba.org>
Mon, 8 Sep 2003 14:00:51 +0000
(14:00 +0000)
(This used to be commit
15d53fd53c622de316d0ff41f1b60f0e2c69f908
)
source3/lib/util_file.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_file.c
b/source3/lib/util_file.c
index 638a6ca3429161115b61dcddcdc3b2fb3ff05637..bd505ac921c37f0f89098da39677f4c646bf92e6 100644
(file)
--- 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;
/***************************************************************