From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-lib/files: freebsd-lib-includes.patch |
Date: | Sat, 16 May 2009 06:19:20 |
Message-Id: | E1M5DEs-0000n9-KO@stork.gentoo.org |
1 | aballier 09/05/16 06:19:18 |
2 | |
3 | Added: freebsd-lib-includes.patch |
4 | Log: |
5 | Add a patch to improve headers dependencies |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: freebsd-lib-includes.patch |
15 | =================================================================== |
16 | Fix headers dependencies so that they can be included alone. |
17 | |
18 | --- include/ifaddrs.h.old 2009-05-15 13:50:10 +0000 |
19 | +++ include/ifaddrs.h 2009-05-15 13:50:23 +0000 |
20 | @@ -28,6 +28,8 @@ |
21 | #ifndef _IFADDRS_H_ |
22 | #define _IFADDRS_H_ |
23 | |
24 | +#include <sys/types.h> |
25 | + |
26 | struct ifaddrs { |
27 | struct ifaddrs *ifa_next; |
28 | char *ifa_name; |