Module Name: src
Committed By: martin
Date: Mon Oct 14 06:28:20 UTC 2024
Modified Files:
src/usr.sbin/tprof [netbsd-10]: tprof_top.c
Log Message:
Additionally pull up
usr.sbin/tprof/tprof_top.c 1.10
for ticket #952: sys/endian.h: PR 57806 + 57807: fix declaration visibility.
This needs <stdbool.h> - it used to come from <sys/rbtree.h> (inappropriately)
but no longer (normally). This should unbreak the builds.
To generate a diff of this commit:
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/usr.sbin/tprof/tprof_top.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/tprof/tprof_top.c
diff -u src/usr.sbin/tprof/tprof_top.c:1.7.2.2 src/usr.sbin/tprof/tprof_top.c:1.7.2.3
--- src/usr.sbin/tprof/tprof_top.c:1.7.2.2 Wed Jun 21 22:34:51 2023
+++ src/usr.sbin/tprof/tprof_top.c Mon Oct 14 06:28:20 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_top.c,v 1.7.2.2 2023/06/21 22:34:51 martin Exp $ */
+/* $NetBSD: tprof_top.c,v 1.7.2.3 2024/10/14 06:28:20 martin Exp $ */
/*-
* Copyright (c) 2022 Ryo Shimizu <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: tprof_top.c,v 1.7.2.2 2023/06/21 22:34:51 martin Exp $");
+__RCSID("$NetBSD: tprof_top.c,v 1.7.2.3 2024/10/14 06:28:20 martin Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -46,6 +46,7 @@ __RCSID("$NetBSD: tprof_top.c,v 1.7.2.2
#include <math.h>
#include <signal.h>
#include <stdio.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <term.h>