Path: utzoo!mnetor!uunet!husc6!yale!cmcl2!nrl-cmf!ames!pasteur!agate!velveeta!rusty From: rusty@velveeta.berkeley.edu (rusty wright) Newsgroups: comp.windows.x Subject: Re: malloc/free bug (really bsd vs sysV) Message-ID: <8028@agate.BERKELEY.EDU> Date: 25 Mar 88 21:58:24 GMT References: <2001@ingr.UUCP> Sender: usenet@agate.BERKELEY.EDU Reply-To: rusty@velveeta.UUCP (rusty wright) Organization: Math Dept., UC Berkeley Lines: 14 Keywords: X window malloc free bug Your problem with multiple inclusions of isn't a problem with your compiler, the "problem" lies in your file. The files on the suns has something like #ifndef _TYPES_ #define _TYPES_ ... #endif _TYPES_ in it, so that it doesn't read it all again if it gets #includ'ed again. -------------------------------------- rusty c. wright rusty@cartan.berkeley.edu ucbvax!cartan!rusty