aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/defines.h')
-rw-r--r--crypto/openssh/defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssh/defines.h b/crypto/openssh/defines.h
index 9b72afecb43c..01b55d580285 100644
--- a/crypto/openssh/defines.h
+++ b/crypto/openssh/defines.h
@@ -511,6 +511,11 @@ struct winsize {
# undef HAVE_UPDWTMPX
#endif
+#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) && \
+ defined(SYSLOG_R_SAFE_IN_SIGHAND)
+# define DO_LOG_SAFE_IN_SIGHAND
+#endif
+
#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY)
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */