From: Phil Blundell Date: Sun, 4 Jun 2000 21:04:03 +0000 (+0000) Subject: 2000-06-04 Philippe De Muyter X-Git-Tag: binutils-2_10~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11434cef730797d80bb97a479331b5ba04307a26;p=thirdparty%2Fbinutils-gdb.git 2000-06-04 Philippe De Muyter * explodename.c: Include stdlib.h and string.h only if they exist. Use strings.h eventually. (already in gettext-0.10.35 since 1998-04-27) --- diff --git a/intl/ChangeLog b/intl/ChangeLog index ecff6f6b2cd..d9d86dd7d1a 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,8 @@ +2000-06-04 Philippe De Muyter + + * explodename.c: Include stdlib.h and string.h only if they exist. + Use strings.h eventually. (already in gettext-0.10.35 since 1998-04-27) + 1997-09-06 02:10 Ulrich Drepper * intlh.inst.in: Reformat copyright. diff --git a/intl/explodename.c b/intl/explodename.c index 37c46e9d7b8..8066dc29962 100644 --- a/intl/explodename.c +++ b/intl/explodename.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Contributed by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify @@ -19,8 +19,15 @@ # include #endif -#include -#include +#if defined STDC_HEADERS || defined _LIBC +# include +#endif + +#if defined HAVE_STRING_H || defined _LIBC +# include +#else +# include +#endif #include #include "loadinfo.h"