summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/gmon.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-03-09 04:42:19 +0000
committerjb <jb@FreeBSD.org>1998-03-09 04:42:19 +0000
commite96cb731c14cdff67c6de83b4e96c943949f7f4c (patch)
tree7b5acd10e823d7a91fdfc6a27c7478e82988957c /lib/libc/gmon/gmon.c
parentc2a72d9ed9e91a68a66599e2224b6a4c2338d2ae (diff)
downloadFreeBSD-src-e96cb731c14cdff67c6de83b4e96c943949f7f4c.zip
FreeBSD-src-e96cb731c14cdff67c6de83b4e96c943949f7f4c.tar.gz
These files are very specific to FreeBSD kernels, so silently compile
no code when building a library with __NETBSD_SYSCALLS defined.
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r--lib/libc/gmon/gmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 81e36dd..a0f0036 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -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
OpenPOWER on IntegriCloud