summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/roken.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build/roken.h')
-rw-r--r--source4/heimdal_build/roken.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index c95e6dfaef..172dc76a29 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -111,6 +111,15 @@
#define HAVE_GETTIMEOFDAY
#endif
+/* force the use of the libreplace strerror_r */
+#ifndef HAVE_STRERROR_R
+#define HAVE_STRERROR_R
+#endif
+#ifndef STRERROR_R_PROTO_COMPATIBLE
+#define STRERROR_R_PROTO_COMPATIBLE
+#endif
+
+
/* we lie about having pidfile() so that NetBSD5 can compile. Nothing
in the parts of heimdal we use actually uses pidfile(), and we
don't use it in Samba, so this works, although its ugly */