]> git.pld-linux.org Git - packages/espeak.git/blame - speak-sys_includes.patch
- use <foo.h> instead of "foo.h" for system includes
[packages/espeak.git] / speak-sys_includes.patch
CommitLineData
2b3c2a38 1diff -Nur o.speak-1.14-source/src/speak.cpp n.speak-1.14-source/src/speak.cpp
2--- o.speak-1.14-source/src/speak.cpp 2006-09-22 19:17:56.000000000 +0200
3+++ n.speak-1.14-source/src/speak.cpp 2006-09-23 21:32:27.000000000 +0200
4@@ -27,7 +27,7 @@
5 #include <time.h>
6 #include <signal.h>
7 #include <locale.h>
8-#include "sys/stat.h"
9+#include <sys/stat.h>
10
11 #include "speech.h"
12 #include "voice.h"
13diff -Nur o.speak-1.14-source/src/speak_lib.cpp n.speak-1.14-source/src/speak_lib.cpp
14--- o.speak-1.14-source/src/speak_lib.cpp 2006-09-16 03:59:29.000000000 +0200
15+++ n.speak-1.14-source/src/speak_lib.cpp 2006-09-23 21:33:35.000000000 +0200
16@@ -19,14 +19,14 @@
17 ***************************************************************************/
18
19
20-#include "stdio.h"
21-#include "ctype.h"
22-#include "string.h"
23-#include "stdlib.h"
24-#include "wchar.h"
25-#include "locale.h"
26+#include <stdio.h>
27+#include <ctype.h>
28+#include <string.h>
29+#include <stdlib.h>
30+#include <wchar.h>
31+#include <locale.h>
32
33-#include "sys/stat.h"
34+#include <sys/stat.h>
35 #ifndef __WIN32__
36 #include <unistd.h>
37 #endif
38diff -Nur o.speak-1.14-source/src/speech.h n.speak-1.14-source/src/speech.h
39--- o.speak-1.14-source/src/speech.h 2006-09-21 20:00:41.000000000 +0200
40+++ n.speak-1.14-source/src/speech.h 2006-09-23 19:54:14.000000000 +0200
41@@ -36,7 +36,10 @@
42 #endif
43
44 // will look for espeak_data directory here, and also in user's home directory
45+#include "config.h"
46+#ifndef PATH_ESPEAK_DATA
47 #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
48+#endif
49
50 typedef unsigned short USHORT;
51 typedef unsigned char UCHAR;
52diff -Nur o.speak-1.14-source/src/voices.cpp n.speak-1.14-source/src/voices.cpp
53--- o.speak-1.14-source/src/voices.cpp 2006-09-21 20:00:42.000000000 +0200
54+++ n.speak-1.14-source/src/voices.cpp 2006-09-23 21:34:46.000000000 +0200
55@@ -18,15 +18,15 @@
56 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
57 ***************************************************************************/
58
59-#include "stdio.h"
60-#include "ctype.h"
61-#include "wctype.h"
62-#include "string.h"
63-#include "stdlib.h"
64-#include "speech.h"
65+#include <stdio.h>
66+#include <ctype.h>
67+#include <wctype.h>
68+#include <string.h>
69+#include <stdlib.h>
70+#include <speech.h>
71
72 #ifndef PLATFORM_RISCOS
73-#include "dirent.h"
74+#include <dirent.h>
75 #endif
76
77 #include "voice.h"
78diff -Nur o.speak-1.14-source/src/wavegen.cpp n.speak-1.14-source/src/wavegen.cpp
79--- o.speak-1.14-source/src/wavegen.cpp 2006-09-21 20:00:42.000000000 +0200
80+++ n.speak-1.14-source/src/wavegen.cpp 2006-09-23 21:35:11.000000000 +0200
81@@ -33,7 +33,7 @@
82 #include "synthesize.h"
83
84 #ifdef USE_PORTAUDIO
85-#include "portaudio.h"
86+#include <portaudio.h>
87 #undef USE_PORTAUDIO
88 // determine portaudio version by looking for a #define which is not in V18
89 #ifdef paNeverDropInput
This page took 0.064431 seconds and 4 git commands to generate.