summaryrefslogtreecommitdiffstats
path: root/external/firebird/configure-c99.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/firebird/configure-c99.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/external/firebird/configure-c99.patch b/external/firebird/configure-c99.patch
new file mode 100644
index 000000000..f582d383e
--- /dev/null
+++ b/external/firebird/configure-c99.patch
@@ -0,0 +1,23 @@
+--- configure
++++ configure
+@@ -21478,8 +21478,9 @@
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#include <stdlib.h>
+ #include <semaphore.h>
+-main () {
++int main () {
+ struct s {
+ char a;
+ union { long long x; sem_t y; } b;
+@@ -21514,7 +21515,8 @@
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-main () {
++#include <stdlib.h>
++int main () {
+ struct s {
+ char a;
+ double b;