commit:     0ffdf618844966c177825e7d1b523808582b322c
Author:     Frederic Cambus <fred <AT> statdns <DOT> com>
AuthorDate: Sat Jan 22 22:03:30 2022 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 02:42:39 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=0ffdf618

porting: don't include alloca.h on NetBSD

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 porting.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/porting.h b/porting.h
index f1bd74f..8e5542d 100644
--- a/porting.h
+++ b/porting.h
@@ -41,7 +41,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include "elf.h"
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
 # include <alloca.h>
 #endif
 #if defined(__linux__)

Reply via email to