ISC Fix

Richard Foulk richard at pegasus.com
Wed Jul 18 01:18:10 AEST 1990


>/* ---------- "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
><original file contents>
>#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 at pegasus.com



More information about the Comp.unix.i386 mailing list