git: 7a7fbb13f546 - stable/15 - cpucontrol: fix -DDEBUG build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Sep 2025 16:11:55 UTC
The branch stable/15 has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7a7fbb13f546e15cabb622feaf3acbb9847578e7 commit 7a7fbb13f546e15cabb622feaf3acbb9847578e7 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2025-09-09 20:32:16 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2025-09-22 16:11:33 +0000 cpucontrol: fix -DDEBUG build (cherry picked from commit f113980fe24fbbb95b75321cb916ed9d48771840) --- usr.sbin/cpucontrol/cpucontrol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/cpucontrol/cpucontrol.h b/usr.sbin/cpucontrol/cpucontrol.h index a4b3a94c19e6..d03c30a6bd6d 100644 --- a/usr.sbin/cpucontrol/cpucontrol.h +++ b/usr.sbin/cpucontrol/cpucontrol.h @@ -43,6 +43,7 @@ typedef void ucode_update_t(const struct ucode_update_params *params); extern int verbosity_level; #ifdef DEBUG +#include <stdio.h> # define WARNX(level, ...) \ if ((level) <= verbosity_level) { \ fprintf(stderr, "%s:%d ", __FILE__, __LINE__); \