summaryrefslogtreecommitdiff
path: root/devel/efivar/files/patch-src_util.h
blob: 7c47def1ebf94af39a6b60e90da15e593a47a2f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/util.h.orig	2024-01-31 20:08:46 UTC
+++ src/util.h
@@ -8,7 +8,9 @@
 #ifndef EFIVAR_UTIL_H
 #define EFIVAR_UTIL_H 1
 
-#include <alloca.h>
+#if defined(__linux__)
+#  include <alloca.h>
+#endif
 #include <ctype.h>
 #include <endian.h>
 #include <err.h>