summaryrefslogtreecommitdiff
path: root/recipes/binutils/binutils-cvs/build_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/binutils/binutils-cvs/build_fix.patch')
-rw-r--r--recipes/binutils/binutils-cvs/build_fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cvs/build_fix.patch b/recipes/binutils/binutils-cvs/build_fix.patch
new file mode 100644
index 0000000000..eb8f5f25d3
--- /dev/null
+++ b/recipes/binutils/binutils-cvs/build_fix.patch
@@ -0,0 +1,16 @@
+---
+ libiberty/fopen_unlocked.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: src/libiberty/fopen_unlocked.c
+===================================================================
+--- src.orig/libiberty/fopen_unlocked.c 2007-08-09 20:12:13.000000000 +0100
++++ src/libiberty/fopen_unlocked.c 2007-08-09 20:12:21.000000000 +0100
+@@ -70,6 +70,7 @@ unchanged.
+ #endif
+ #include <stdio.h>
+ #ifdef HAVE_STDIO_EXT_H
++#include <sys/cdefs.h>
+ #include <stdio_ext.h>
+ #endif
+