aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-16 12:14:50 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-16 12:14:50 +0000
commitca7ada9660dc2fe0c3684bbc926c5684c85d5e95 (patch)
tree2eb4979b31939106c561b07913ea4ffe240c3c5f /porting.h
parentFixing whitespace. (diff)
downloadpax-utils-ca7ada9660dc2fe0c3684bbc926c5684c85d5e95.tar.gz
pax-utils-ca7ada9660dc2fe0c3684bbc926c5684c85d5e95.tar.bz2
pax-utils-ca7ada9660dc2fe0c3684bbc926c5684c85d5e95.zip
only include alloca.h on linux systems #246439 by Javier Villavicencio
Diffstat (limited to 'porting.h')
-rw-r--r--porting.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/porting.h b/porting.h
index 919b860..1ce9091 100644
--- a/porting.h
+++ b/porting.h
@@ -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.32 2008/10/19 20:36:31 grobian Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.33 2008/11/16 12:14:50 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
@@ -33,13 +33,13 @@
#include <pwd.h>
#include <fnmatch.h>
#include <regex.h>
-#include <alloca.h>
#include <sys/mman.h>
#include "elf.h"
#if defined(__linux__)
-# include <endian.h>
+# include <alloca.h>
# include <byteswap.h>
+# include <endian.h>
#elif defined(__FreeBSD__)
# include <sys/endian.h>
#elif defined(__sun__)