X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargz.c;h=253c6f50c20792a1319e2e4ed27afacd410758b4;hb=9e50ddc83c2aa9cccbe954d561eb2380e4d3bfe7;hp=6ce502dd40305d484ce081232efc351895567d49;hpb=cdfe0337fb8d9c657d9c89b9f2f75212f5eb2fa7;p=gnulib.git diff --git a/lib/argz.c b/lib/argz.c index 6ce502dd4..253c6f50c 100644 --- a/lib/argz.c +++ b/lib/argz.c @@ -1,5 +1,5 @@ /* argz.c -- argz implementation for non-glibc systems - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc. Originally by Gary V. Vaughan NOTE: The canonical source of this file is maintained with the @@ -17,15 +17,12 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* Provide our wierdo HAVE_CONFIG_H rvalue for other clients. */ -#if !defined(LTDL) && defined(HAVE_CONFIG_H) -# define HAVE_CONFIG_H -#endif - -#if defined(HAVE_CONFIG_H) -# include HAVE_CONFIG_H +#if defined(LTDL) && defined LT_CONFIG_H +# include LT_CONFIG_H +#else +# include #endif #include @@ -35,15 +32,7 @@ #include #include #include - -#if defined(HAVE_STRING_H) -# include -#elif defined(HAVE_STRINGS_H) -# include -#endif -#if defined(HAVE_MEMORY_H) -# include -#endif +#include #define EOS_CHAR '\0'