Index: tcp-wrappers-7.6.q/tli.c
===================================================================
--- tcp-wrappers-7.6.q.orig/tli.c	2012-01-24 04:18:28.000000000 +0000
+++ tcp-wrappers-7.6.q/tli.c	2012-01-24 17:41:01.842191471 +0000
@@ -333,12 +333,16 @@
 	    return (t_errlist[t_errno]);
 	}
     } else {
+#ifdef HAVE_STRERROR
+        return strerror(errno);
+#else
 	if (errno < 0 || errno >= sys_nerr) {
 	    sprintf(buf, "Unknown UNIX error %d", errno);
 	    return (buf);
 	} else {
 	    return (sys_errlist[errno]);
 	}
+#endif
     }
 }
 
