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 /*