1 |
commit: 0ffdf618844966c177825e7d1b523808582b322c |
2 |
Author: Frederic Cambus <fred <AT> statdns <DOT> com> |
3 |
AuthorDate: Sat Jan 22 22:03:30 2022 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 23 02:42:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=0ffdf618 |
7 |
|
8 |
porting: don't include alloca.h on NetBSD |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
porting.h | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/porting.h b/porting.h |
16 |
index f1bd74f..8e5542d 100644 |
17 |
--- a/porting.h |
18 |
+++ b/porting.h |
19 |
@@ -41,7 +41,7 @@ |
20 |
#include <sys/stat.h> |
21 |
#include <sys/types.h> |
22 |
#include "elf.h" |
23 |
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) |
24 |
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) |
25 |
# include <alloca.h> |
26 |
#endif |
27 |
#if defined(__linux__) |