[gnu.emacs] sioctl.h

rms@ai.mit.edu (08/03/89)

Some versions of System V have TIOCGWINSZ defined (in termio.h?).
On those systems, Emacs (in sysdep.c) needs to include sioctl.h
in order to use it.

But on some of these systems, there is no file sioctl.h to be
included.  The necessary definitions for TIOCGWINSZ seem to be present
in some other header file.

Can anyone find a way to distinguish, by looking at standard
header files' contents, between the systems which need sioctl.h
and those which don't?

If a way is not found, Emacs will continue to fail to compile on the
system V versions that define TIOCGWINSZ and don't have sioctl.h.

Only real experts could answer a question like this; and they probably
need to have access to both kinds of systems.