Module Name: src
Committed By: kre
Date: Tue Jan 2 22:35:26 UTC 2024
Modified Files:
src/usr.sbin/tprof: tprof_top.c
Log Message:
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.9 -r1.10 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.9 src/usr.sbin/tprof/tprof_top.c:1.10
--- src/usr.sbin/tprof/tprof_top.c:1.9 Mon Apr 17 08:37:24 2023
+++ src/usr.sbin/tprof/tprof_top.c Tue Jan 2 22:35:26 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_top.c,v 1.9 2023/04/17 08:37:24 msaitoh Exp $ */
+/* $NetBSD: tprof_top.c,v 1.10 2024/01/02 22:35:26 kre 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.9 2023/04/17 08:37:24 msaitoh Exp $");
+__RCSID("$NetBSD: tprof_top.c,v 1.10 2024/01/02 22:35:26 kre Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -46,6 +46,7 @@ __RCSID("$NetBSD: tprof_top.c,v 1.9 2023
#include <math.h>
#include <signal.h>
#include <stdio.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <term.h>