Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252796 - sys-kernel/linux-headers serial.h missing #include <linux/types.h>
Summary: sys-kernel/linux-headers serial.h missing #include <linux/types.h>
Status: RESOLVED DUPLICATE of bug 252721
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 10:56 UTC by Anders Aagaard
Modified: 2008-12-28 15:40 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 Anders Aagaard 2008-12-28 10:56:31 UTC
serial.h cant be included without including types.h first at this point, this breaks any compile that does so, for example wine-1.1.11.

A simple:
#include <linux/types.h>
Fixes the problem.

Upstream this is not a problem : http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=include/linux/serial.h

Reproducible: Always

Steps to Reproduce:
1. emerge linux-headers-2.6.28
2. emerge wine 1.1.11
3.
Comment 1 Philipp 2008-12-28 11:24:56 UTC
It is a problem upstream, too. As you see, the __KERNEL__ is around the inclusion of types.h. It needs to be moved below.
Comment 2 Rafał Mużyło 2008-12-28 15:40:40 UTC

*** This bug has been marked as a duplicate of bug 252721 ***