File: include-config_h.patch

package info (click to toggle)
eegdev 0.2-10
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,108 kB
  • sloc: ansic: 32,298; sh: 10,962; makefile: 252; lex: 138; yacc: 130; xml: 29
file content (79 lines) | stat: -rw-r--r-- 2,241 bytes parent folder | download | duplicates (5)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From: Dejan Latinovic <Dejan.Latinovic@imgtec.com>
Date: Tue, 11 Mar 2014 18:16:39 +0100
Description: include "config.h" before including system headers
 The following source files were modified to include "config.h" before
 including system headers (due to changes in gnulib).
Debian-Bug: 

--- a/doc/examples/library-usage/acquisition.c
+++ b/doc/examples/library-usage/acquisition.c
@@ -15,6 +15,9 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdint.h>
--- a/doc/examples/library-usage/eegdev_acq.c
+++ b/doc/examples/library-usage/eegdev_acq.c
@@ -15,6 +15,9 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>
--- a/doc/examples/library-usage/recinxdf.c
+++ b/doc/examples/library-usage/recinxdf.c
@@ -15,6 +15,9 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
--- a/tests/sysbiosemi.c
+++ b/tests/sysbiosemi.c
@@ -17,6 +17,9 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 //#include <sys/time.h>
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>
--- a/tests/syseegfile.c
+++ b/tests/syseegfile.c
@@ -17,6 +17,9 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 //#include <sys/time.h>
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>
--- a/tests/systobiia.c
+++ b/tests/systobiia.c
@@ -16,6 +16,9 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 //#include <sys/time.h>
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>