Path: utzoo!attcan!uunet!snorkelwacker!usc!ucsd!nosc!humu!pegasus!richard From: richard@pegasus.com (Richard Foulk) Newsgroups: comp.unix.i386 Subject: Re: ISC Fix Message-ID: <1990Jul17.151810.5324@pegasus.com> Date: 17 Jul 90 15:18:10 GMT References: <231423@<1990Jul15> <70400012@m.cs.uiuc.edu> Organization: Pegasus, Honolulu Lines: 28 >/* ---------- "ISC Fix" ---------- */ >Here's part of an article I posted recently to gnu.g++. This is >something that helped me bring up a number of packages more easily on >386/ix 2.0.2. If someone could check and see if this is valid for ESIX >and 386/ix 2.2 I'd appreciate it. >[ comments on adding things to sys/types.h and sys/sioctl.h ] >/* End of text from m.cs.uiuc.edu:comp.unix.i386 */ > >IMHO the better way to do this is to just modify sys/types.h as follows > >#ifndef SYS_TYPES > >#define SYS_TYPES >#endif > >This will have the same effect as your fix for sioctl.h (types.h will be >included twice, but the second time it will be an empty file), and avoid the >problem of finding all the places that might include types.h twice. I guess I didn't explain well enough. It wasn't a *fix* for sioctl.h is was a creation of that file since it didn't come with ISC Unix. The handling of sys/types.h was just a peripheral issue. I did say that didn't I? -- Richard Foulk richard@pegasus.com