diff options
author | Bjoern Jacke <bjacke@samba.org> | 2018-02-21 01:51:42 -0800 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-02-21 14:19:19 +0100 |
commit | 3a7ebd0e940e80b185a9240c093e1fee6795fd5b (patch) | |
tree | 881c62c3a25e085608d13138861d0a0a3b5a210a /source4/heimdal_build | |
parent | e9d5b8b6b41155a8a043275ae497bdb87044d476 (diff) | |
download | samba-3a7ebd0e940e80b185a9240c093e1fee6795fd5b.tar.gz |
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>
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r-- | source4/heimdal_build/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h index a7669227960..160b835b0f3 100644 --- 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 |