summaryrefslogtreecommitdiff
path: root/Ports/bash/patches/include-stdio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/bash/patches/include-stdio.patch')
-rw-r--r--Ports/bash/patches/include-stdio.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/Ports/bash/patches/include-stdio.patch b/Ports/bash/patches/include-stdio.patch
new file mode 100644
index 0000000000..bd06d4b6f8
--- /dev/null
+++ b/Ports/bash/patches/include-stdio.patch
@@ -0,0 +1,13 @@
+diff --git a/include/stdc.h b/include/stdc.h
+index c66492f0..5991f4bd 100644
+--- a/include/stdc.h
++++ b/include/stdc.h
+@@ -22,6 +22,8 @@
+ #if !defined (_STDC_H_)
+ #define _STDC_H_
+
++#include <stdio.h>
++
+ /* Adapted from BSD /usr/include/sys/cdefs.h. */
+
+ /* A function can be defined using prototypes and compile on both ANSI C