From 77e382a2e02a6cee04a1d12028b2517b0295147b Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 13 Dec 2009 12:03:04 -0800 Subject: [PATCH] handle that we always include strerror_r.c --- lib/roken/strerror_r.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/roken/strerror_r.c b/lib/roken/strerror_r.c index ea32b6a1e..2acc8a8c0 100644 --- a/lib/roken/strerror_r.c +++ b/lib/roken/strerror_r.c @@ -33,6 +33,8 @@ #include +#if !defined(HAVE_STRERROR_R) && !defined(STRERROR_R_PROTO_COMPATIBLE) + #include #include #include @@ -65,3 +67,5 @@ rk_strerror_r(int eno, char *strerrbuf, size_t buflen) return 0; #endif } + +#endif