From bb089a75a99068545a4e46282767cde0ee7b2b0c Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 1 May 2013 14:00:31 -0700 Subject: [PATCH] undef rk_getpwnam_r to make sure we get the real prototype and not the rewrite #define --- lib/roken/getxxyyy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/roken/getxxyyy.c b/lib/roken/getxxyyy.c index b97dd8e63..5beed69df 100644 --- a/lib/roken/getxxyyy.c +++ b/lib/roken/getxxyyy.c @@ -36,11 +36,12 @@ #include "roken.h" #ifdef TEST_GETXXYYY +#undef rk_getpwnam_r + ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL rk_getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); #endif - #if !defined(POSIX_GETPWNAM_R) || defined(TEST_GETXXYYY) /*