NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53125: sys/timevar.h is absent in installed systems.



The following reply was made to PR lib/53125; it has been noted by GNATS.

From: Utkarsh Anand <utkarsh009%yandex.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>,
	"lib-bug-people%netbsd.org@localhost" <lib-bug-people%netbsd.org@localhost>,
	"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>,
	"netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Sat, 24 Mar 2018 17:24:21 +0530

 24.03.2018, 17:15, "Robert Elz" <kre%munnari.oz.au@localhost>:
 > The following reply was made to PR lib/53125; it has been noted by GNATS.
 >
 > From: Robert Elz <kre%munnari.OZ.AU@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
 > Date: Sat, 24 Mar 2018 18:40:17 +0700
 >
 >      Date: Sat, 24 Mar 2018 10:30:01 +0000 (UTC)
 >      From: utkarsh009%yandex.com@localhost
 >      Message-ID: <20180324103001.2B4777A267%mollari.NetBSD.org@localhost>
 >
 >    | I was compiling a file on NetBSD where I needed to #define _KERNEL,
 >
 >  Are you compiling part of the kernel? If not, you should not be defining
 >  that. If you are, then src/sys/sys should be in the include path, and
 >  _KERNEL should be defined without needing a #define
 
 No. I am trying to compile a general purpose application that is not available in pkgsrc.
 Thanks for the information, but the plan has changed (see previous mail for reasons).
 I want to do it by defining _KMEMUSER. 
 Any thoughts on including <machine/types.h> in uvm/* files that need them?
 That should solve the problem and I can commit the changes if others agree.
 >
 >    | Try compiling a C file with the following content:
 >    | #define _KERNEL
 >    | #include <sys/time.h>
 >
 >  Are you sure that you don't just want <time.h> ?
 It's there only because of nested inclusions. I don't need it directly. I need sys/sysctl.h
 >
 >  kre
 



Home | Main Index | Thread Index | Old Index