git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d5b8b
)
heimdal_build: use closefrom from libreplace
author
Bjoern Jacke
<bjacke@samba.org>
Wed, 21 Feb 2018 09:51:42 +0000
(
01:51
-0800)
committer
Ralph Boehme
<slow@samba.org>
Wed, 21 Feb 2018 13:19:19 +0000
(14:19 +0100)
this silences a lot of "... has been redefined" compiler warnings on
platforms that don't have closefrom
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/heimdal_build/config.h
patch
|
blob
|
history
diff --git
a/source4/heimdal_build/config.h
b/source4/heimdal_build/config.h
index a7669227960f4e1245bca193f23b95ca24246d03..160b835b0f377416a516b9fe54f0ecc5aeaff49c 100644
(file)
--- a/
source4/heimdal_build/config.h
+++ b/
source4/heimdal_build/config.h
@@
-52,4
+52,9
@@
/* lib/replace provides an XSI Compatable strerror_r so use that */
#define STRERROR_R_PROTO_COMPATIBLE
+/* lib/replace provides a closefrom */
+#ifndef HAVE_CLOSEFROM
+#define HAVE_CLOSEFROM 1
+#endif
+
#endif