Date: Sun, 25 Jul 2010 19:27:09 +0200 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-current@freebsd.org, Ryan Stone <rysto32@gmail.com> Subject: Re: -nostdinc, <bsd.kmod.mk>, and <std{arg,def}.h> Message-ID: <20100725172709.GA24551@triton8.kn-bremen.de> In-Reply-To: <20100724225900.GA3433@triton8.kn-bremen.de> References: <20100724202440.GA5245@triton8.kn-bremen.de> <AANLkTinwR1QZzagVtxYFDL5Z9qf=Ym=yDPQy=_=38_7a@mail.gmail.com> <20100724225900.GA3433@triton8.kn-bremen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 25, 2010 at 12:59:00AM +0200, Juergen Lock wrote: > On Sat, Jul 24, 2010 at 05:17:51PM -0400, Ryan Stone wrote: > > I believe that you should be using <sys/stddef.h> and <machine/stdarg.h> > > Aaah thank you! :) I shall make a patch tomorrow. Anyone want to test this patch on head? It can go in /usr/ports/emulators/kqemu-kmod-devel/files/patch-common-kqemu_int.h: Thanx, :) Juergen --- common/kqemu_int.h.orig +++ common/kqemu_int.h @@ -17,8 +17,14 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __ASSEMBLY__ +#ifdef __FreeBSD__ +#include <sys/types.h> +#include <sys/stddef.h> +#include <machine/stdarg.h> +#else #include <stddef.h> #include <stdarg.h> +#endif #ifndef NO_STD_TYPES
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100725172709.GA24551>