summaryrefslogtreecommitdiff
path: root/audio/flite/files/patch-tools-funds_sts_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/flite/files/patch-tools-funds_sts_main.c')
-rw-r--r--audio/flite/files/patch-tools-funds_sts_main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/flite/files/patch-tools-funds_sts_main.c b/audio/flite/files/patch-tools-funds_sts_main.c
new file mode 100644
index 000000000000..f63f7db99629
--- /dev/null
+++ b/audio/flite/files/patch-tools-funds_sts_main.c
@@ -0,0 +1,19 @@
+
+$FreeBSD$
+
+Tags: for-upstream
+
+The standard headers must be included before the behavior gets undefined
+by the following macro definition.
+
+--- tools/find_sts_main.c.orig 2005-01-01 15:04:43.000000000 +0100
++++ tools/find_sts_main.c 2007-01-21 04:36:17.750982588 +0100
+@@ -40,6 +40,8 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <string.h>
++#include <stdlib.h>
++#include <unistd.h>
+
+ /* To allow some normally const fields to manipulated during building */
+ #define const