Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38111

Summary: small patch for linux/pci.h in linux-2.6 headers
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] Core systemAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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