aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dtc/files/patch-fdtoverlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dtc/files/patch-fdtoverlay.c')
-rw-r--r--sysutils/dtc/files/patch-fdtoverlay.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/dtc/files/patch-fdtoverlay.c b/sysutils/dtc/files/patch-fdtoverlay.c
new file mode 100644
index 000000000000..695cd44a59a8
--- /dev/null
+++ b/sysutils/dtc/files/patch-fdtoverlay.c
@@ -0,0 +1,12 @@
+--- fdtoverlay.c.orig 2017-11-27 12:39:15 UTC
++++ fdtoverlay.c
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#ifndef __FreeBSD__
+ #include <alloca.h>
++#endif
+ #include <inttypes.h>
+
+ #include <libfdt.h>