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: 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
 
   | 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> ?
 
 kre
 


Home | Main Index | Thread Index | Old Index