--- a/bsd-user/syscall.c +++ b/bsd-user/syscall.c @@ -54,7 +54,9 @@ #include #ifdef __FreeBSD__ #include +#if defined(__FreeBSD_version) && __FreeBSD_version > 900000 #include +#endif #include #include #include