Bug 3444 - compile error including linux/config.h
Summary: compile error including linux/config.h
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 11:16 UTC by David Schleef
Modified: 2005-10-18 21:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (540 bytes, patch)
2005-06-01 11:18 UTC, David Schleef
no flags Details | Splinter Review

Description David Schleef 2005-06-01 11:16:40 UTC
Including <linux/config.h> is wrong in user space, and likely unnecessary. 
Perhaps it is supposed to be wrapped by #ifdef __KERNEL__.
Comment 1 David Schleef 2005-06-01 11:18:43 UTC
Created attachment 2805 [details] [review]
patch

This isn't a real patch, just one to show where the problem is.
Comment 2 Dave Airlie 2005-06-01 14:38:26 UTC
This was fixed "upstream" in DRI CVS a while back I'm not sure if someone wants
to apply it to 6.8.x branch, we are planning on importing a new drm anyway
before 6.9/7.0

I'll try and get a stable one for around then not that it really matters as most
people use the kernel...
Comment 3 Adam Jackson 2005-10-19 14:57:28 UTC
appears to be fixed in xorg cvs:

http://cvs.freedesktop.org/xorg/xc/extras/drm/shared/drm.h?r1=1.3&r2=1.4


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.