Date: Tue, 18 Nov 2003 11:37:48 +0000 From: Bruce M Simpson <bms@spc.org> To: lucy loo <lucyloo168@yahoo.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Conflict between <sys/sysproto.h> & <stdio.h> ... ? Message-ID: <20031118113748.GF87527@saboteur.dek.spc.org> In-Reply-To: <20031118083937.63444.qmail@web21509.mail.yahoo.com> References: <20031118083937.63444.qmail@web21509.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 18, 2003 at 12:39:37AM -0800, lucy loo wrote: > I am writing a kernel loadable module to reimplement some system calls. I have included <sys/sysproto.h>, <sys/systm.h>, etc. -- very standard header files for kld implmentation. I also want to do file i/o in this module, therefore I need to include <stdio.h>. But it obviously conflicts with those <sys/...>, and make won't pass. RTFM - particularly style(9), do not include userland headers in the kernel. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118113748.GF87527>