diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-16 20:54:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-16 20:54:45 +0000 |
commit | 12965babde85f44491b63a3bcfd1006c868ee274 (patch) | |
tree | 965f10a1aefb1b97bd8ce0ee915a6747742b7c3b /porting.h | |
parent | sort headers alphabetically (diff) | |
download | pax-utils-12965babde85f44491b63a3bcfd1006c868ee274.tar.gz pax-utils-12965babde85f44491b63a3bcfd1006c868ee274.tar.bz2 pax-utils-12965babde85f44491b63a3bcfd1006c868ee274.zip |
pull in alloca.h for all hosts but freebsd
Diffstat (limited to 'porting.h')
-rw-r--r-- | porting.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.34 2008/11/16 12:16:21 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.35 2008/11/16 20:54:45 vapier Exp $ * * Copyright 2005-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org> @@ -35,8 +35,10 @@ #include <sys/stat.h> #include <sys/types.h> #include "elf.h" -#if defined(__linux__) +#if !defined(__FreeBSD__) # include <alloca.h> +#endif +#if defined(__linux__) # include <byteswap.h> # include <endian.h> #elif defined(__FreeBSD__) |