diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-08 14:00:51 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-08 14:00:51 +0000 |
commit | 15d53fd53c622de316d0ff41f1b60f0e2c69f908 (patch) | |
tree | af4ca208ed7d1dfcdcdb89190f22311b747af323 /source/lib/util_file.c | |
parent | 02ae82fb3f70dc37e815d8e88bfd31a8c3ff43db (diff) | |
download | samba-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.c | 5 |
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; /*************************************************************** |