diff -burNp httping-1.4.1/str.c httping-1.4.1-dud/str.c --- httping-1.4.1/str.c 2010-01-10 21:35:22.000000000 +0100 +++ httping-1.4.1-dud/str.c 2010-03-11 23:54:21.986538283 +0100 @@ -18,14 +18,3 @@ #include "mem.h" #include "utils.h" -#ifndef _GNU_SOURCE -char *strndup(char *in, int size) -{ - char *out = mymalloc(size + 1, "strndup"); - - memcpy(out, in, size); - out[size] = 0x00; - - return out; -} -#endif diff -burNp httping-1.4.1/str.h httping-1.4.1-dud/str.h --- httping-1.4.1/str.h 2010-01-10 21:35:22.000000000 +0100 +++ httping-1.4.1-dud/str.h 2010-03-11 23:53:46.336542947 +0100 @@ -14,7 +14,3 @@ */ #include - -#ifndef _GNU_SOURCE -char *strndup(char *in, int size); -#endif