git: f113980fe24f - main - cpucontrol: fix -DDEBUG build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Sep 2025 21:19:35 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=f113980fe24fbbb95b75321cb916ed9d48771840
commit f113980fe24fbbb95b75321cb916ed9d48771840
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-09-09 20:32:16 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-09-09 21:19:15 +0000
cpucontrol: fix -DDEBUG build
---
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__); \