Bug 14246

Summary: intel driver doesn't compile on OpenBSD
Product: xorg Reporter: Mark Kettenis <kettenis>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: x86 (IA32)   
OS: OpenBSD   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Fix none

Description Mark Kettenis 2008-01-25 04:31:51 UTC
Created attachment 13932 [details] [review]
Fix

<sys/types.h> needs to be included before <sys/mman.h>, but this isn't done
in src/i830_memory.c  This can be easily fixed by adding the missing include (see the attached patch).  This should be fine, since <sys/types.h> is already included unconditionally in other source files.
Comment 1 Eric Anholt 2008-01-31 21:04:01 UTC
Committed.  Thanks!

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.