handle that we always include strerror_r.c

This commit is contained in:
Love Hornquist Astrand
2009-12-13 12:03:04 -08:00
parent 5312f4de31
commit 77e382a2e0

View File

@@ -33,6 +33,8 @@
#include <config.h>
#if !defined(HAVE_STRERROR_R) && !defined(STRERROR_R_PROTO_COMPATIBLE)
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -65,3 +67,5 @@ rk_strerror_r(int eno, char *strerrbuf, size_t buflen)
return 0;
#endif
}
#endif