As per subject hw/xfree86/x86emu/validate.c uses the non-standard 'ulong' type that doesn't exists on FreeBSD (neither if you include sys/types.h). A simple replacement of it with unsigned long make the errors (for that) disappear. It also need a prototype for print_flags() function or GCC complains about that (not sure why, tho, but it makes sense to define a prototype). The attached patch fixes both problems. HTH, Diego
Created attachment 3247 [details] [review] hw-xfree86-x86emu-validate_c.patch
This does not seem to be pertinent anymore.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.