heimdal_build: use closefrom from libreplace
[samba.git] / source4 / heimdal_build / config.h
index a7669227960f4e1245bca193f23b95ca24246d03..160b835b0f377416a516b9fe54f0ecc5aeaff49c 100644 (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