On Sat, Oct 21, 2017 at 09:20:20AM -0400, Christos Zoulas wrote: > Why don't we unconditionally (not only when _NETBSD_SOURCE) include > <sys/ttycom.h> from <sys/termios.h> and only make visible struct winsize > when _NETBSD_SOURCE is not defined?
Just provide two definitions and protect them with an include guard. No need really to have a new header either. Joerg