Compile fix forinclude files from linux 2.6.7

Marcus Meissner marcus at jet.franken.de
Sun Sep 5 10:50:03 CDT 2004


On Sun, Sep 05, 2004 at 05:38:03PM +0200, Rein Klazes wrote:
> Hi,
> 
> Fix for bugzilla bug#2354, compile failure on Slackware 10.
> 
> The include <linux/fd.h> uses since Linux 2.6.7 a macro defined in
> <linux/compiler.h>. Compiler.h is new in linux 2.4.4, old but not very
> old, so I added an autoconf check for such systems.
> 
> Need to run autoheader & autoconf after applying.

No, if it is missing __user, just 

#define __user

at the beginning of the file.

Or try not to use linux kernel headers at all.

Ciao, Marcus



More information about the wine-patches mailing list