1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

heimdal_build: use closefrom from libreplace

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>
This commit is contained in:
Bjoern Jacke 2018-02-21 01:51:42 -08:00 committed by Ralph Boehme
parent e9d5b8b6b4
commit 3a7ebd0e94

View File

@ -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