Mercurial > hg > octave-lyh > gnulib-hg
changeset 11754:796e82b1141e
Make the gethostname test compile again.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 02 Aug 2009 15:29:02 +0200 |
parents | b465c20bb96c |
children | 25cf353396f7 |
files | ChangeLog tests/test-gethostname.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -4,7 +4,8 @@ Ensure HOST_NAME_MAX as part of the gethostname module. * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows platforms, define also HOST_NAME_MAX. - * tests/test-gethostname.c (main): Check also HOST_NAME_MAX. + * tests/test-gethostname.c: Include <limits.h>. + (main): Check also HOST_NAME_MAX. * doc/posix-headers/limits.texi: Document the mingw problem. 2009-08-02 Bruno Haible <bruno@clisp.org>