Bug 4437

Summary: hw/xfree86/x86emu/validate.c uses non-standard ulong type
Product: xorg Reporter: Diego Elio Pettenò <flameeyes>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
hw-xfree86-x86emu-validate_c.patch none

Description Diego Elio Pettenò 2005-09-13 00:22:13 UTC
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
Comment 1 Diego Elio Pettenò 2005-09-13 00:23:11 UTC
Created attachment 3247 [details] [review]
hw-xfree86-x86emu-validate_c.patch
Comment 2 Diego Elio Pettenò 2006-10-12 16:45:47 UTC
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.