From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-projects commit in pax-utils: porting.h |
Date: | Sun, 16 Nov 2008 12:14:52 |
Message-Id: | E1L1gWg-0002Vu-EJ@stork.gentoo.org |
1 | vapier 08/11/16 12:14:50 |
2 | |
3 | Modified: porting.h |
4 | Log: |
5 | only include alloca.h on linux systems #246439 by Javier Villavicencio |
6 | |
7 | Revision Changes Path |
8 | 1.33 pax-utils/porting.h |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.33&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.33&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.32&r2=1.33 |
13 | |
14 | Index: porting.h |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v |
17 | retrieving revision 1.32 |
18 | retrieving revision 1.33 |
19 | diff -u -r1.32 -r1.33 |
20 | --- porting.h 19 Oct 2008 20:36:31 -0000 1.32 |
21 | +++ porting.h 16 Nov 2008 12:14:50 -0000 1.33 |
22 | @@ -1,7 +1,7 @@ |
23 | /* |
24 | * Copyright 2005-2007 Gentoo Foundation |
25 | * Distributed under the terms of the GNU General Public License v2 |
26 | - * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.32 2008/10/19 20:36:31 grobian Exp $ |
27 | + * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.33 2008/11/16 12:14:50 vapier Exp $ |
28 | * |
29 | * Copyright 2005-2007 Ned Ludd - <solar@g.o> |
30 | * Copyright 2005-2007 Mike Frysinger - <vapier@g.o> |
31 | @@ -33,13 +33,13 @@ |
32 | #include <pwd.h> |
33 | #include <fnmatch.h> |
34 | #include <regex.h> |
35 | -#include <alloca.h> |
36 | |
37 | #include <sys/mman.h> |
38 | #include "elf.h" |
39 | #if defined(__linux__) |
40 | -# include <endian.h> |
41 | +# include <alloca.h> |
42 | # include <byteswap.h> |
43 | +# include <endian.h> |
44 | #elif defined(__FreeBSD__) |
45 | # include <sys/endian.h> |
46 | #elif defined(__sun__) |