<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">*** errors.c.orig	2006-03-30 19:28:00.000000000 +0200
--- errors.c	2006-03-30 19:49:13.000000000 +0200
***************
*** 31,36 ****
--- 31,37 ----
  #include &lt;stdio.h&gt;
  #include &lt;errno.h&gt;
  #include &lt;string.h&gt;
+ #include &lt;strings.h&gt;
  #include &lt;stdlib.h&gt;
  #if HAVE_LWRES_NETDB_H
  # include &lt;lwres/netdb.h&gt;
***************
*** 256,264 ****
    SMTPAPI_CHECK_ARGS (buf != NULL &amp;&amp; buflen &gt; 0, NULL);
  
    if (error &lt; 0)
! #if HAVE_WORKING_STRERROR_R
!     return strerror_r (-error, buf, buflen);
! #elif HAVE_STRERROR_R
      {
        /* Assume the broken OSF1 strerror_r which returns an int. */
        int n = strerror_r (-error, buf, buflen);
--- 257,263 ----
    SMTPAPI_CHECK_ARGS (buf != NULL &amp;&amp; buflen &gt; 0, NULL);
  
    if (error &lt; 0)
! #if HAVE_STRERROR_R
      {
        /* Assume the broken OSF1 strerror_r which returns an int. */
        int n = strerror_r (-error, buf, buflen);
</pre></body></html>