From 1eba3f18e8c4dd277f61d67d1fe8fee5c45b4550 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 12 Feb 2025 17:56:13 +0100 Subject: [PATCH] cpu_stats: restore a header for BSDs after cd87a6462190 rpcs3/util/cpu_stats.cpp:390:4: error: use of undeclared identifier 'getpid' 390 | getpid(), | ^ --- rpcs3/util/cpu_stats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/util/cpu_stats.cpp b/rpcs3/util/cpu_stats.cpp index de1d3b133c..c2a63fb35f 100644 --- a/rpcs3/util/cpu_stats.cpp +++ b/rpcs3/util/cpu_stats.cpp @@ -32,6 +32,7 @@ #if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) # include +# include # if defined(__DragonFly__) || defined(__FreeBSD__) # include # endif