Date: 27 Aug 2001 15:20:11 +0100 From: Wayne Pascoe <wayne.pascoe@ehsrealtime.com> To: freebsd-questions@freebsd.org Subject: Re: OT: Re: Porting app from Linux - sys/vfs.h replacement Message-ID: <8666b97ffo.fsf@pan.ehsrealtime.com> In-Reply-To: <20010827134440.A12436@FreeBSD.org> References: <20010827134440.A12436@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
George Reid <greid@FreeBSD.org> writes: > On Mon, Aug 27, 2001 at 09:08:47AM +0100, Wayne Pascoe wrote: > > > It loks like it doesn't like u_short and gid_t ... The section from > > ucred.h is as follows : > [...] > > It still produces the same error. Is there another header file I need > > to include for this to work ? > [...] > > sys/types.h Great :) thanks... One more thing... On Linux /etc/mtab is a list of all mounted filesystems. What is the equavalent file on FreeBSD ? Is there a system call that will return mounted file systems? I also see that the order I include files in does matter. doing #include <sys/types.h> #include <sys/mount.h> #include <sys/param.h> gives me errors in ucred.h. Swappign mount.h and param.h around fixes the problem. Why is this ? I thought that order didn't matter. -- Wayne Pascoe <wayne.pascoe@ehsrealtime.com> Phone : +44 (0) 20 7017 1221 Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8666b97ffo.fsf>