summaryrefslogtreecommitdiff
path: root/dev-libs/fribidi/files/no-config-h.diff
blob: 394c67873b09cc0e7e8504731fee4763ec57ac5e (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
Description: Removed HAVE_CONFIG_H from public API
Origin: commit:b534ab2642f694c3106d5bc8d0a8beae60bf60d3
Author: Dov Grobgeld <dov.grobgeld@gmail.com>
Date:   Sat Aug 18 20:37:22 2018 +0300

diff --git a/bin/fribidi-benchmark.c b/bin/fribidi-benchmark.c
index e5fc9c0..07ac336 100644
--- a/bin/fribidi-benchmark.c
+++ b/bin/fribidi-benchmark.c
@@ -33,6 +33,11 @@
 #include <fribidi-deprecated.h>
 
 #include <stdio.h>
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c
index cd359a9..33e1630 100644
--- a/bin/fribidi-main.c
+++ b/bin/fribidi-main.c
@@ -33,6 +33,11 @@
 #include <fribidi-deprecated.h>
 
 #include <stdio.h>
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-arabic-shaping-tab.c b/gen.tab/gen-arabic-shaping-tab.c
index e613768..369501c 100644
--- a/gen.tab/gen-arabic-shaping-tab.c
+++ b/gen.tab/gen-arabic-shaping-tab.c
@@ -30,6 +30,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-bidi-type-tab.c b/gen.tab/gen-bidi-type-tab.c
index a0a61ef..05b1d16 100644
--- a/gen.tab/gen-bidi-type-tab.c
+++ b/gen.tab/gen-bidi-type-tab.c
@@ -30,6 +30,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-brackets-tab.c b/gen.tab/gen-brackets-tab.c
index 8c1f1df..cd99e01 100644
--- a/gen.tab/gen-brackets-tab.c
+++ b/gen.tab/gen-brackets-tab.c
@@ -32,6 +32,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-brackets-type-tab.c b/gen.tab/gen-brackets-type-tab.c
index 221db07..9ec60cc 100644
--- a/gen.tab/gen-brackets-type-tab.c
+++ b/gen.tab/gen-brackets-type-tab.c
@@ -32,6 +32,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-joining-type-tab.c b/gen.tab/gen-joining-type-tab.c
index 07c0953..29ab3ed 100644
--- a/gen.tab/gen-joining-type-tab.c
+++ b/gen.tab/gen-joining-type-tab.c
@@ -30,6 +30,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-mirroring-tab.c b/gen.tab/gen-mirroring-tab.c
index 21d33cf..e19be91 100644
--- a/gen.tab/gen-mirroring-tab.c
+++ b/gen.tab/gen-mirroring-tab.c
@@ -30,6 +30,10 @@
 #include <fribidi-unicode.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/gen.tab/gen-unicode-version.c b/gen.tab/gen-unicode-version.c
index 4291551..35306ca 100644
--- a/gen.tab/gen-unicode-version.c
+++ b/gen.tab/gen-unicode-version.c
@@ -28,6 +28,10 @@
 #include <common.h>
 
 #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef STDC_HEADERS
 # include <stdlib.h>
 # include <stddef.h>
diff --git a/lib/bidi-types.h b/lib/bidi-types.h
index 385ef05..86f3d02 100644
--- a/lib/bidi-types.h
+++ b/lib/bidi-types.h
@@ -27,7 +27,7 @@
 #ifndef _BIDI_TYPES_H
 #define _BIDI_TYPES_H
 
-#include "common.h"
+#include "fribidi-common.h"
 
 #include <fribidi-types.h>
 #include <fribidi-bidi-types.h>
diff --git a/lib/fribidi-arabic.c b/lib/fribidi-arabic.c
index dbfdc09..e12074c 100644
--- a/lib/fribidi-arabic.c
+++ b/lib/fribidi-arabic.c
@@ -27,6 +27,10 @@
 
 #include "common.h"
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_STDLIB_H
 # include <stdlib.h>
 #endif
diff --git a/lib/fribidi-types.h b/lib/fribidi-types.h
index 9f1746f..90238b4 100644
--- a/lib/fribidi-types.h
+++ b/lib/fribidi-types.h
@@ -27,10 +27,6 @@
 #ifndef _FRIBIDI_TYPES_H
 #define _FRIBIDI_TYPES_H
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include "fribidi-common.h"
 
 #include "fribidi-begindecls.h"
diff --git a/lib/joining-types.h b/lib/joining-types.h
index 94b9fe3..6e11fa1 100644
--- a/lib/joining-types.h
+++ b/lib/joining-types.h
@@ -27,7 +27,7 @@
 #ifndef _JOINING_TYPES_H
 #define _JOINING_TYPES_H
 
-#include "common.h"
+#include "fribidi-common.h"
 
 #include <fribidi-types.h>
 #include <fribidi-joining-types.h>
diff --git a/lib/run.h b/lib/run.h
index 8c4e259..44ddfec 100644
--- a/lib/run.h
+++ b/lib/run.h
@@ -29,7 +29,7 @@
 #ifndef _RUN_H
 #define _RUN_H
 
-#include "common.h"
+#include "fribidi-common.h"
 
 #include <fribidi-common.h>