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