[GRASS-dev] compilation of grass on AIX 7.1
Glynn Clements
glynn at gclements.plus.com
Mon Apr 8 02:31:55 PDT 2013
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list