From: | "Bo Ørsted Andresen" <bo.andresen@××××.dk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] What is that (compile errors in system headers...) | ||
Date: | Mon, 02 Oct 2006 18:37:15 | ||
Message-Id: | 200610022031.34172.bo.andresen@zlin.dk | ||
In Reply to: | Re: [gentoo-user] What is that (compile errors in system headers...) by Meino Christian Cramer |
1 | On Monday 02 October 2006 20:15, Meino Christian Cramer wrote: |
2 | [SNIP] |
3 | > My includes are now: |
4 | > |
5 | > #include <linux/if.h> |
6 | > #include <linux/ethtool.h> |
7 | > #include <stdio.h> |
8 | > #include <stdlib.h> |
9 | > #include <string.h> |
10 | > #include <errno.h> |
11 | > #include <sys/types.h> |
12 | > #include <linux/types.h> |
13 | [SNIP] |
14 | |
15 | # cat /usr/include/linux/if.h |
16 | [SNIP] |
17 | #include <linux/types.h> /* for "__kernel_caddr_t" et al */ |
18 | [SNIP] |
19 | |
20 | So as you see <linux/types.h> is included (by <linux/if.h> long before |
21 | <sys/types.h>.... |
22 | |
23 | -- |
24 | Bo Andresen |