summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-za-bsd-user-8fix
blob: a8653c16722d0cbec16d4d5970f3375d79000f34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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
 
 
 /*