Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197447 - sys-kernel/linux-headers-2.6.2x if.h does not define IFF_LOWER_UP due to strange include/def lines in linux/if.h
Summary: sys-kernel/linux-headers-2.6.2x if.h does not define IFF_LOWER_UP due to stra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 19:25 UTC by Daniel Bahrdt
Modified: 2008-04-20 20:41 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 Daniel Bahrdt 2007-10-29 19:25:18 UTC
The kernel headers' linux/if.h file will not be included if you use it in your project.
(See linux/if.h line 19):

#ifndef _LINUX_IF_H
# include <net/if.h>
# define _LINUX_IF_H
#endif

#ifndef _LINUX_IF_H
#define _LINUX_IF_H
<Implementation>
#endif /* _LINUX_IF_H */

Reproducible: Always

Steps to Reproduce:
Have look at line 19 in linux/if.h



Expected Results:  
Include the file correctly (as the vanilla/debian headers do)
Comment 1 SpanKY gentoo-dev 2008-04-20 20:41:04 UTC
it isnt strange if you actually read the comments in the patch

fixed with linux-2.6.25-r1