summaryrefslogtreecommitdiff
path: root/devel/efivar/files/patch-src_dp.h
blob: 27a3cc282b2b89b0343d83dc40ad4cf907ca8b96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/dp.h.orig	2024-01-31 20:08:46 UTC
+++ src/dp.h
@@ -6,7 +6,9 @@
 #ifndef _EFIVAR_INTERNAL_DP_H
 #define _EFIVAR_INTERNAL_DP_H
 
-#include <alloca.h>
+#if defined(__linux__)
+#  include <alloca.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>