Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!inxsvcs!mwg From: mwg@inxsvcs.UUCP (Phil Blecker) Newsgroups: news.software.b Subject: patch 17 problems with dirent.h on uport V/386 Summary: future change to distribution to compile easily on uport V/386 Message-ID: <114@inxsvcs.UUCP> Date: 7 Feb 89 23:56:39 GMT Followup-To: news.software.b Organization: INX Services, Los Angeles, CA Lines: 37 I just got around to installing the patches that were posted in unix-pc.sources on Microport V/386. I've become a little used to having compatibility problems with , and noticed that it looked like somebody did something about it. So I defined USG in the Makefile, and READDIR and DIRENT in defs.h. Unfortunately, this resulted in a number of source files trying to include twice. The compiler I'm using (Greenhills) doesn't like multiple typedef's. So, the following files; expire.c inews.c readr.c rfuncs.c visual.c should have: #ifdef USG #include #endif changed to something like: #ifdef USG # ifdef READDIR # ifndef DIRENT # include # endif # else # include # endif #endif as long as "params.h" includes when READDIR and DIRENT are defined. At least I didn't have to go around making sure that struct dirent made sense this time. What an improvement! -- Phil Blecker +1 818 243-3053 none of my ideas belong to me and uunet!inxsvcs!mwg i can't see anything wrong with that