mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
These files are very specific to FreeBSD kernels, so silently compile
no code when building a library with __NETBSD_SYSCALLS defined.
This commit is contained in:
parent
e91bce7ac7
commit
30ac8b16e2
2 changed files with 6 additions and 1 deletions
|
|
@ -35,6 +35,7 @@
|
|||
static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif
|
||||
|
||||
#ifndef __NETBSD_SYSCALLS
|
||||
#include <sys/param.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/gmon.h>
|
||||
|
|
@ -256,3 +257,4 @@ hertz()
|
|||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -36,9 +36,10 @@
|
|||
static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: mcount.c,v 1.9 1997/02/22 14:58:27 peter Exp $";
|
||||
#endif
|
||||
|
||||
#ifndef __NETBSD_SYSCALLS
|
||||
#include <sys/param.h>
|
||||
#include <sys/gmon.h>
|
||||
#ifdef KERNEL
|
||||
|
|
@ -323,3 +324,5 @@ mexitcount(selfpc)
|
|||
}
|
||||
}
|
||||
#endif /* GUPROF */
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue