mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
cpu_stats: restore a header for BSDs after cd87a64621
rpcs3/util/cpu_stats.cpp:390:4: error: use of undeclared identifier 'getpid' 390 | getpid(), | ^
This commit is contained in:
parent
26df3a8452
commit
19077ee1ed
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
|
# include <unistd.h>
|
||||||
# if defined(__DragonFly__) || defined(__FreeBSD__)
|
# if defined(__DragonFly__) || defined(__FreeBSD__)
|
||||||
# include <sys/user.h>
|
# include <sys/user.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue