From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,541d1f268c245d68 X-Google-Attributes: gidfee84,public From: richard@bofh.its.rmit.EDU.AU (Richard A. Muirden) Subject: Re: Different definitions for attr_t - DU 4.0 Date: 1997/02/10 Message-ID: <5dmnab$bea$1@aggedor.rmit.edu.au>#1/1 X-Deja-AN: 217756764 references: <5d77el$q69@dove.qut.edu.au> organization: Royal Melbourne Institute of Technology, Melbourne, Australia. newsgroups: comp.unix.osf.osf1 hesslinm@pigeon.qut.edu.au (hessling mark ) writes: >I have found that the inclusion of curses.h and sys/acl.h in the >one program causes a compilation error :-( >curses.h typedefs attr_t to long and sys/security.h (included via >sys/acl.h) defines attr_t as a struct. >Neither header file allows for conditional reference to its respective >attr_t. >Has anyone else noticed this problem ? Yes. I got grumpy and as my program needed security and curses I got pissed and changed the security.h attr_t to pr_attr_t (and all occurances during the file) and it doesn't seem to have broken anything... yet!! :) >Cheers, Mark -richard -- * Am looking for new sys admin job. 5 years exp! * ------------------------------------------------------------------------------- Richard A. Muirden, RMIT ITS Snr Unix Systems Admin: Web+News+Post -Master mailto: richard@rmit.EDU.AU phone: 9660 3814, Fax: 9663 5652 Likes: Shostakovich (134 CD's), 'planes, sci-fi, cats, romance, cuddles and... http://www.rmit.edu.au/richard