aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-30 00:52:15 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-30 00:52:15 +0000
commitd25be35e6e0f897dfc8f24bf62f0cd80fe3bead2 (patch)
treed6198d5a592e4e24b449f709193db665712b4c43 /porting.h
parentignore FLAT files (diff)
downloadpax-utils-d25be35e6e0f897dfc8f24bf62f0cd80fe3bead2.tar.gz
pax-utils-d25be35e6e0f897dfc8f24bf62f0cd80fe3bead2.tar.bz2
pax-utils-d25be35e6e0f897dfc8f24bf62f0cd80fe3bead2.zip
dont include alloca.h on openbsd #363903 by Maxim Koltsov
Diffstat (limited to 'porting.h')
-rw-r--r--porting.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/porting.h b/porting.h
index abc4456..522ad8d 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.39 2010/01/15 12:06:37 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.40 2011/04/30 00:52:15 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
@@ -36,7 +36,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "elf.h"
-#if !defined(__FreeBSD__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
# include <alloca.h>
#endif
#if defined(__linux__)