Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38111 - small patch for linux/pci.h in linux-2.6 headers
Summary: small patch for linux/pci.h in linux-2.6 headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 16:32 UTC by SpanKY
Modified: 2004-02-07 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2004-01-13 16:32:50 UTC
before i could just take out the '#include <pci.h>' in packages to make them compile ... that was because most packages didnt really need access to the pci stuff pci.h provided ...

however, dosemu really needs access to the pci functions and thus really needs linux/pci.h (sys/pci.h just includes linux/pci.h so that isnt an option)

the easy fix is to put #ifdef __KERNEL__ around the #include <linux/mod_devicetable.h>
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-02-07 16:21:16 UTC
SpanKY:	bahaha you fixed that one
SpanKY:	i think you fixed linux/mod_devicetable.h for me ;)
SpanKY:	which means pci.h is fixed for free
SpanKY:	so you can close out the bug

Heh, fair enough...