Path: utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker!apple!portal!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: news.software.nn Subject: sys/types.h included multiple times when s-bsd4-2.h Message-ID: <2025@atari.UUCP> Date: 6 Feb 90 21:08:35 GMT Organization: Atari Corp., Sunnyvale CA Lines: 24 I'm having trouble compiling nn patchlevel 10... I'm on s-bsd4-2.h (which defines HAVE_MULTIGROUP), and sys/types.h is being included twice: once outright in s-bsd4-2.h, and once by global.c, which contains the following: #ifdef HAVE_MULTIGROUP #ifndef NGROUPS #include #endif ... #endif Unfortunately, my sys/param.h includes sys/types.h, which contains typedefs and no guard against multiple inclusion. Now, I could edit sys/types.h, which I resist, or I could import NGROUPS into my config.h or something (it's 8), or I could just forget about HAVE_MULTIGROUP in s-bsd4-2.h. I don't like any of these solutions, because they either change what BSD distributes or what Kim Storm distributes. Is there another alternative? ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt