Package: siggen / 2.3.10-9

missing-include.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: add missing includes
Author: Jim Paris

Index: siggen/misc.c
===================================================================
--- siggen.orig/misc.c	2009-04-04 23:06:43.000000000 +0200
+++ siggen/misc.c	2009-04-04 23:06:43.000000000 +0200
@@ -27,6 +27,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <limits.h>
+#include <string.h>
 #include "config.h"
 /*
  * delay(us)  wait us microsecs using select. Effectively
Index: siggen/config.h
===================================================================
--- siggen.orig/config.h	2009-04-04 23:06:43.000000000 +0200
+++ siggen/config.h	2009-04-04 23:06:43.000000000 +0200
@@ -245,5 +245,6 @@
  */
 
 char *get_conf_value();
+char **getWavNames();
 
 #endif   /*  _config_siggen_h */
Index: siggen/generator.c
===================================================================
--- siggen.orig/generator.c	2009-04-04 23:08:20.000000000 +0200
+++ siggen/generator.c	2009-04-04 23:09:33.000000000 +0200
@@ -66,6 +66,7 @@
  * for 8 bit mono this is bytes, for 16 mono this is doubled
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>