X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrdup.c;h=98a2655bf219a51381b64dfa0502fdde7fa64271;hb=46380c372f75d7a8609c6646e48099a9b84f7ec2;hp=7cff51be098deb0b5cc87f365356fb2ad0ba6574;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/strdup.c b/lib/strdup.c index 7cff51be0..98a2655bf 100644 --- a/lib/strdup.c +++ b/lib/strdup.c @@ -1,5 +1,5 @@ -/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004, 2006 Free - Software Foundation, Inc. +/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2011 Free Software + Foundation, Inc. This file is part of the GNU C Library. @@ -19,15 +19,17 @@ #ifndef _LIBC # include -/* Get specification. */ -# include "strdup.h" #endif -#include +/* Get specification. */ #include +#include + #undef __strdup -#undef strdup +#ifdef _LIBC +# undef strdup +#endif #ifndef weak_alias # define __strdup strdup