Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!ai.mit.edu!rms From: rms@ai.mit.edu Newsgroups: gnu.emacs Subject: sioctl.h Message-ID: <8908030049.AA00259@sugar-bombs.ai.mit.edu> Date: 3 Aug 89 00:49:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 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.