Markus Neteler wrote:

> > A grep for "winsize" would be more useful. TIOCGWINSZ is being found,
> > otherwise the code which uses "struct winsize" wouldn't be compiled
> > and wouldn't generate an error.
> 
> Ok, found this in /usr/include/sys/ioctl.h:
> 
> struct winsize {

But lib/gis/ls.c already includes <sys/ioctl.h>, provided that
HAVE_SYS_IOCTL_H is defined.

Is HAVE_SYS_IOCTL_H defined in config.h?

Is the struct winsize definition guarded by #if/#ifdef?

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to