mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-24 10:11:02 +00:00
Fix FreeBSD (10.x) build after 7dc9ae43
Include sys/user.h for declaration of 'struct kinfo_proc'. Add -lutil to qemu-ga link for kinfo_getproc. Backports commit a7764f1548ef9946af30a8f96be9cef10761f0c1 from qemu
This commit is contained in:
parent
57533d1adc
commit
6deaf98a8b
|
@ -59,6 +59,7 @@
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
#include <sys/user.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "qemu/mmap-alloc.h"
|
#include "qemu/mmap-alloc.h"
|
||||||
|
|
Loading…
Reference in a new issue