diff -r 7d3c07f8acfb -r 9ccc1574a367 puts.c --- a/puts.c Thu Dec 23 00:46:07 2010 +0100 +++ b/puts.c Thu Dec 23 01:06:04 2010 +0100 @@ -1,3 +1,4 @@ +#include #include "dl.h" /* shameless stolen from @@ -12,7 +13,7 @@ int rc; if (!orig) - orig = get_original_function("libc.so.6", "puts"); + orig = lib_function("puts", NULL); (*orig)(""); rc = (*orig)(s);