Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/crypto/dist/heimdal/lib



   > On NetBSD-5.99.23/amd64:
   > /usr/src/crypto/dist/heimdal/lib/roken/getarg.c: In function 
'arg_printusage':
   > /usr/src/crypto/dist/heimdal/lib/roken/getarg.c:220: error: storage size 
of 'ws' isn't known
   > *** [getarg.lo] Error code 1
   
   Umm.
   
    - struct winsize is defined in <sys/ttycom.h> on NetBSD
    - <termios.h> is a symlink to <sys/termios.h> on NetBSD
    - <sys/termios.h> includes <sys/ttycom.h> inside #if 
defined(_NETBSD_SOURCES)
      while <sys/ioctl.h> includes <sys/ttycom.h> unconditionally
    - src/include/heimdal/roken.h configured for NetBSD includes
      <termios.h> and <sys/ioctl.h> so it got struct winsize
   
   What's the right solution?

run a ./configure and generate a file to include for the tools build,
on all host platforms?


Home | Main Index | Thread Index | Old Index