I've committed the attached patch. gai_strerror.c was breaking on the #include of getaddrinfo.h because `restrict' was not defined properly on HP-UX 11.00.
2005-09-12 Derek Price <[EMAIL PROTECTED]> * gai_strerror.c: Include config.h when available. Include getaddrinfo.h before other headers to test interface. Reported by Larry Jones <[EMAIL PROTECTED]>. Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 717.579.6168 f: +1 717.234.3125 <mailto:[EMAIL PROTECTED]>
Index: lib/gai_strerror.c =================================================================== RCS file: /cvsroot/gnulib/gnulib/lib/gai_strerror.c,v retrieving revision 1.3 diff -u -p -r1.3 gai_strerror.c --- lib/gai_strerror.c 14 May 2005 06:03:58 -0000 1.3 +++ lib/gai_strerror.c 12 Sep 2005 14:22:54 -0000 @@ -16,13 +16,20 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#ifndef _LIBC +# include "getaddrinfo.h" +#endif + #include <stdio.h> #include <netdb.h> #ifdef _LIBC # include <libintl.h> #else -# include "getaddrinfo.h" # include "gettext.h" # define _(String) gettext (String) # define N_(String) String
_______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib