- Turns out qemu 1.4.x now builds with clang (almost) as is, so remove CLANG_HACK. [1] - Add workaround for clang/i386 that doesn't define bit_CMOV in <cpuid.h>. Submitted by: Brad Smith <brad@comstyle.com> [1]
13 lines
282 B
Plaintext
13 lines
282 B
Plaintext
--- a/bsd-user/syscall.c
|
|
+++ b/bsd-user/syscall.c
|
|
@@ -106,7 +106,9 @@ static char *get_filename_from_fd(pid_t
|
|
#ifdef __FreeBSD__
|
|
#include <sys/queue.h>
|
|
#include <sys/user.h>
|
|
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
|
|
#include <libprocstat.h>
|
|
+#endif
|
|
|
|
|
|
/*
|