Bug 14246 - intel driver doesn't compile on OpenBSD
Summary: intel driver doesn't compile on OpenBSD
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) OpenBSD
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
Keywords: patch
Depends on:
Reported: 2008-01-25 04:31 UTC by Mark Kettenis
Modified: 2008-01-31 21:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Fix (332 bytes, patch)
2008-01-25 04:31 UTC, Mark Kettenis
no flags Details | Splinter Review

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

<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.