1 | --- configure
|
---|
2 | +++ configure
|
---|
3 | @@ -1859,7 +1859,7 @@
|
---|
4 | add_cflags "-mcpu=$cpu"
|
---|
5 | ;;
|
---|
6 | *)
|
---|
7 | - ARCHFLAGS="$ARCHFLAGS -mcpu=$tune"
|
---|
8 | + ARCHFLAGS="$ARCHFLAGS -mtune=$tune"
|
---|
9 | ;;
|
---|
10 | esac
|
---|
11 | fi
|
---|
12 | --- libs/libmyth/lcddevice.cpp
|
---|
13 | +++ libs/libmyth/lcddevice.cpp
|
---|
14 | @@ -14,6 +14,7 @@
|
---|
15 | #include "libmythui/mythmainwindow.h"
|
---|
16 |
|
---|
17 | #include <unistd.h>
|
---|
18 | +#include <stdlib.h>
|
---|
19 | #include <sys/wait.h> // For WIFEXITED on Mac OS X
|
---|
20 | #include <cmath>
|
---|
21 |
|
---|
22 | --- libs/libmyth/lirc.cpp
|
---|
23 | +++ libs/libmyth/lirc.cpp
|
---|
24 | @@ -6,6 +6,7 @@
|
---|
25 | #include <sys/wait.h>
|
---|
26 | #include <sys/types.h>
|
---|
27 | #include <unistd.h>
|
---|
28 | +#include <stdlib.h>
|
---|
29 |
|
---|
30 | #include "mythcontext.h"
|
---|
31 |
|
---|
32 | --- libs/libmyth/managedlist.cpp
|
---|
33 | +++ libs/libmyth/managedlist.cpp
|
---|
34 | @@ -1,3 +1,4 @@
|
---|
35 | +#include <cstdlib>
|
---|
36 | using namespace std;
|
---|
37 |
|
---|
38 | #include "managedlist.h"
|
---|
39 | --- libs/libmyth/mythdbcon.cpp
|
---|
40 | +++ libs/libmyth/mythdbcon.cpp
|
---|
41 | @@ -1,4 +1,5 @@
|
---|
42 | #include "unistd.h"
|
---|
43 | +#include "stdlib.h"
|
---|
44 |
|
---|
45 | #include "mythdbcon.h"
|
---|
46 |
|
---|
47 | --- libs/libmyth/mythmediamonitor.cpp
|
---|
48 | +++ libs/libmyth/mythmediamonitor.cpp
|
---|
49 | @@ -4,6 +4,7 @@
|
---|
50 |
|
---|
51 | // C++ headers
|
---|
52 | #include <iostream>
|
---|
53 | +#include <typeinfo>
|
---|
54 | using namespace std;
|
---|
55 |
|
---|
56 | // Qt headers
|
---|
57 | --- libs/libmyth/mythsocket.cpp
|
---|
58 | +++ libs/libmyth/mythsocket.cpp
|
---|
59 | @@ -1,6 +1,7 @@
|
---|
60 | #include <qapplication.h>
|
---|
61 | #include <qstring.h>
|
---|
62 | #include <unistd.h>
|
---|
63 | +#include <stdlib.h>
|
---|
64 | #include "mythcontext.h"
|
---|
65 | #include "util.h"
|
---|
66 | #include "mythsocket.h"
|
---|
67 | --- libs/libmyth/util.cpp
|
---|
68 | +++ libs/libmyth/util.cpp
|
---|
69 | @@ -5,6 +5,7 @@
|
---|
70 | // C headers
|
---|
71 | #include <cerrno>
|
---|
72 | #include <unistd.h>
|
---|
73 | +#include <stdlib.h>
|
---|
74 | #include <fcntl.h>
|
---|
75 |
|
---|
76 | // System specific C headers
|
---|
77 | --- libs/libmyth/xmlparse.cpp
|
---|
78 | +++ libs/libmyth/xmlparse.cpp
|
---|
79 | @@ -2,6 +2,7 @@
|
---|
80 | using namespace std;
|
---|
81 |
|
---|
82 | #include <cmath>
|
---|
83 | +#include <cstdlib>
|
---|
84 |
|
---|
85 | #include <qapplication.h>
|
---|
86 |
|
---|
87 | --- libs/libmythsoundtouch/cpu_detect_x86_gcc.cpp
|
---|
88 | +++ libs/libmythsoundtouch/cpu_detect_x86_gcc.cpp
|
---|
89 | @@ -51,6 +51,7 @@
|
---|
90 | #include "config.h"
|
---|
91 |
|
---|
92 | #ifdef ARCH_X86_64
|
---|
93 | +#undef ARCH_X86
|
---|
94 | #define ARCH_X86
|
---|
95 | #endif
|
---|
96 |
|
---|
97 | --- libs/libmythtv/DVDRingBuffer.cpp
|
---|
98 | +++ libs/libmythtv/DVDRingBuffer.cpp
|
---|
99 | @@ -1,4 +1,5 @@
|
---|
100 | #include <unistd.h>
|
---|
101 | +#include <stdlib.h>
|
---|
102 |
|
---|
103 | #include "DVDRingBuffer.h"
|
---|
104 | #include "mythcontext.h"
|
---|
105 | --- libs/libmythtv/cc708decoder.cpp
|
---|
106 | +++ libs/libmythtv/cc708decoder.cpp
|
---|
107 | @@ -2,6 +2,7 @@
|
---|
108 | // Copyright (c) 2003-2005, Daniel Kristjansson
|
---|
109 |
|
---|
110 | #include <cassert>
|
---|
111 | +#include <cstdlib>
|
---|
112 |
|
---|
113 | #include "mythcontext.h"
|
---|
114 | #include "cc708decoder.h"
|
---|
115 | --- libs/libmythtv/eitscanner.cpp
|
---|
116 | +++ libs/libmythtv/eitscanner.cpp
|
---|
117 | @@ -4,6 +4,8 @@
|
---|
118 | #include <sys/time.h>
|
---|
119 | #include <sys/resource.h>
|
---|
120 |
|
---|
121 | +#include <cstdlib>
|
---|
122 | +
|
---|
123 | #include "tv_rec.h"
|
---|
124 |
|
---|
125 | #include "channelbase.h"
|
---|
126 | --- libs/libmythtv/iptv/iptvfeederfile.cpp
|
---|
127 | +++ libs/libmythtv/iptv/iptvfeederfile.cpp
|
---|
128 | @@ -7,6 +7,7 @@
|
---|
129 | * Copyright (c) 2006 by Mike Mironov & Mickaël Remars
|
---|
130 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
131 | */
|
---|
132 | +#include <algorithm>
|
---|
133 |
|
---|
134 | #include "iptvfeederfile.h"
|
---|
135 |
|
---|
136 | --- libs/libmythtv/iptv/iptvfeederrtp.cpp
|
---|
137 | +++ libs/libmythtv/iptv/iptvfeederrtp.cpp
|
---|
138 | @@ -3,6 +3,7 @@
|
---|
139 | * Copyright (c) 2006 by Mike Mironov & Mickaël Remars
|
---|
140 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
141 | */
|
---|
142 | +#include <algorithm>
|
---|
143 |
|
---|
144 | #include "iptvfeederrtp.h"
|
---|
145 |
|
---|
146 | --- libs/libmythtv/iptv/iptvfeederrtsp.cpp
|
---|
147 | +++ libs/libmythtv/iptv/iptvfeederrtsp.cpp
|
---|
148 | @@ -3,6 +3,7 @@
|
---|
149 | * Copyright (c) 2006 by Laurent Arnal, Benjamin Lerman & Mickaël Remars
|
---|
150 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
151 | */
|
---|
152 | +#include <algorithm>
|
---|
153 |
|
---|
154 | #include "iptvfeederrtsp.h"
|
---|
155 |
|
---|
156 | --- libs/libmythtv/iptv/iptvfeederudp.cpp
|
---|
157 | +++ libs/libmythtv/iptv/iptvfeederudp.cpp
|
---|
158 | @@ -3,6 +3,7 @@
|
---|
159 | * Copyright (c) 2006 by Mike Mironov & Mickaël Remars
|
---|
160 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
161 | */
|
---|
162 | +#include <algorithm>
|
---|
163 |
|
---|
164 | #include "iptvfeederudp.h"
|
---|
165 |
|
---|
166 | --- libs/libmythtv/iptv/iptvfeederwrapper.cpp
|
---|
167 | +++ libs/libmythtv/iptv/iptvfeederwrapper.cpp
|
---|
168 | @@ -3,6 +3,7 @@
|
---|
169 | * Copyright (c) 2006 by Mickaël Remars
|
---|
170 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
171 | */
|
---|
172 | +#include <algorithm>
|
---|
173 |
|
---|
174 | #include "iptvfeederwrapper.h"
|
---|
175 |
|
---|
176 | --- libs/libmythtv/iptv/iptvmediasink.cpp
|
---|
177 | +++ libs/libmythtv/iptv/iptvmediasink.cpp
|
---|
178 | @@ -3,6 +3,7 @@
|
---|
179 | * Copyright (c) 2006 by Laurent Arnal, Benjamin Lerman & Mickaël Remars
|
---|
180 | * Distributed as part of MythTV under GPL v2 and later.
|
---|
181 | */
|
---|
182 | +#include <algorithm>
|
---|
183 |
|
---|
184 | #include "mythcontext.h"
|
---|
185 | #include "iptvmediasink.h"
|
---|
186 | --- libs/libmythtv/jobqueue.cpp
|
---|
187 | +++ libs/libmythtv/jobqueue.cpp
|
---|
188 | @@ -12,6 +12,7 @@
|
---|
189 | #include <sys/resource.h>
|
---|
190 |
|
---|
191 | #include <iostream>
|
---|
192 | +#include <cstdlib>
|
---|
193 | using namespace std;
|
---|
194 |
|
---|
195 | #include "exitcodes.h"
|
---|
196 | --- libs/libmythtv/osdsurface.h
|
---|
197 | +++ libs/libmythtv/osdsurface.h
|
---|
198 | @@ -41,7 +41,7 @@
|
---|
199 | void BlendToYV12(unsigned char *yptr,
|
---|
200 | unsigned char *uptr,
|
---|
201 | unsigned char *vptr,
|
---|
202 | - int ystride, int ystride, int vstride) const;
|
---|
203 | + int ystride, int ustride, int vstride) const;
|
---|
204 | void BlendToARGB(unsigned char *argbptr,
|
---|
205 | uint stride, uint height, bool blendtoblack=false,
|
---|
206 | uint threshold = 0) const;
|
---|
207 | --- libs/libmythtv/programinfo.cpp
|
---|
208 | +++ libs/libmythtv/programinfo.cpp
|
---|
209 | @@ -10,6 +10,7 @@
|
---|
210 |
|
---|
211 | #include <sys/types.h>
|
---|
212 | #include <unistd.h>
|
---|
213 | +#include <stdlib.h>
|
---|
214 |
|
---|
215 | #include "programinfo.h"
|
---|
216 | #include "progdetails.h"
|
---|
217 | --- libs/libmythtv/util-xv.cpp
|
---|
218 | +++ libs/libmythtv/util-xv.cpp
|
---|
219 | @@ -3,6 +3,7 @@
|
---|
220 |
|
---|
221 | // C++ headers
|
---|
222 | #include <iostream>
|
---|
223 | +#include <cstdlib>
|
---|
224 | using namespace std;
|
---|
225 |
|
---|
226 | // MythTH headers
|
---|
227 | --- libs/libmythtv/videodisplayprofile.cpp
|
---|
228 | +++ libs/libmythtv/videodisplayprofile.cpp
|
---|
229 | @@ -1,4 +1,5 @@
|
---|
230 | // -*- Mode: c++ -*-
|
---|
231 | +#include <algorithm>
|
---|
232 |
|
---|
233 | #include "videodisplayprofile.h"
|
---|
234 | #include "mythcontext.h"
|
---|
235 | --- libs/libmythtv/viewschdiff.cpp
|
---|
236 | +++ libs/libmythtv/viewschdiff.cpp
|
---|
237 | @@ -10,6 +10,7 @@
|
---|
238 | #include <qheader.h>
|
---|
239 |
|
---|
240 | #include <iostream>
|
---|
241 | +#include <cstdlib>
|
---|
242 | using namespace std;
|
---|
243 |
|
---|
244 | #include "viewschdiff.h"
|
---|
245 | --- libs/libmythtv/xbox.cpp
|
---|
246 | +++ libs/libmythtv/xbox.cpp
|
---|
247 | @@ -4,6 +4,7 @@
|
---|
248 | #include "remoteutil.h"
|
---|
249 |
|
---|
250 | #include <unistd.h>
|
---|
251 | +#include <stdlib.h>
|
---|
252 |
|
---|
253 | XBox::XBox(void)
|
---|
254 | {
|
---|
255 | --- libs/libmythtv/yuv2rgb.cpp
|
---|
256 | +++ libs/libmythtv/yuv2rgb.cpp
|
---|
257 | @@ -27,6 +27,7 @@
|
---|
258 | #include <cstdlib>
|
---|
259 | #include <algorithm>
|
---|
260 | #include <inttypes.h>
|
---|
261 | +#include <limits.h>
|
---|
262 | #include "config.h"
|
---|
263 |
|
---|
264 | #ifdef MMX
|
---|
265 | --- libs/libmythui/myththemedmenu.cpp
|
---|
266 | +++ libs/libmythui/myththemedmenu.cpp
|
---|
267 | @@ -4,6 +4,7 @@
|
---|
268 |
|
---|
269 | #include <iostream>
|
---|
270 | #include <cmath>
|
---|
271 | +#include <cstdlib>
|
---|
272 | using namespace std;
|
---|
273 |
|
---|
274 | #include "exitcodes.h"
|
---|
275 | --- libs/libmythui/mythuiimage.cpp
|
---|
276 | +++ libs/libmythui/mythuiimage.cpp
|
---|
277 | @@ -1,4 +1,5 @@
|
---|
278 | #include <iostream>
|
---|
279 | +#include <cstdlib>
|
---|
280 | using namespace std;
|
---|
281 |
|
---|
282 | #include "mythuiimage.h"
|
---|
283 | --- libs/libmythui/xmlparsebase.cpp
|
---|
284 | +++ libs/libmythui/xmlparsebase.cpp
|
---|
285 | @@ -1,3 +1,5 @@
|
---|
286 | +#include <typeinfo>
|
---|
287 | +
|
---|
288 | #include <qfile.h>
|
---|
289 |
|
---|
290 | #include "xmlparsebase.h"
|
---|
291 | --- libs/libmythupnp/httprequest.cpp
|
---|
292 | +++ libs/libmythupnp/httprequest.cpp
|
---|
293 | @@ -29,6 +29,7 @@
|
---|
294 | #include <sys/stat.h>
|
---|
295 | #include <netinet/tcp.h>
|
---|
296 | #include <unistd.h>
|
---|
297 | +#include <stdlib.h>
|
---|
298 | #include <fcntl.h>
|
---|
299 |
|
---|
300 | #include "util.h"
|
---|
301 | --- libs/libmythupnp/ssdp.cpp
|
---|
302 | +++ libs/libmythupnp/ssdp.cpp
|
---|
303 | @@ -19,6 +19,7 @@
|
---|
304 | #include <qregexp.h>
|
---|
305 |
|
---|
306 | #include <unistd.h>
|
---|
307 | +#include <stdlib.h>
|
---|
308 | #include <qstringlist.h>
|
---|
309 | #include <sys/time.h>
|
---|
310 |
|
---|
311 | --- libs/libmythupnp/upnptasknotify.cpp
|
---|
312 | +++ libs/libmythupnp/upnptasknotify.cpp
|
---|
313 | @@ -13,6 +13,7 @@
|
---|
314 | #include "broadcast.h"
|
---|
315 |
|
---|
316 | #include <unistd.h>
|
---|
317 | +#include <stdlib.h>
|
---|
318 | #include <qstringlist.h>
|
---|
319 | #include <quuid.h>
|
---|
320 | #include <qdom.h>
|
---|
321 | --- libs/libmythupnp/upnptasksearch.cpp
|
---|
322 | +++ libs/libmythupnp/upnptasksearch.cpp
|
---|
323 | @@ -12,6 +12,7 @@
|
---|
324 | #include "upnptasksearch.h"
|
---|
325 |
|
---|
326 | #include <unistd.h>
|
---|
327 | +#include <stdlib.h>
|
---|
328 | #include <qstringlist.h>
|
---|
329 | #include <quuid.h>
|
---|
330 | #include <qdom.h>
|
---|
331 | --- libs/libmythupnp/upnputil.h
|
---|
332 | +++ libs/libmythupnp/upnputil.h
|
---|
333 | @@ -17,7 +17,7 @@
|
---|
334 |
|
---|
335 | // __suseconds_t doesn't exist on some older Unixes. e.g. Darwin/Mac OS X
|
---|
336 |
|
---|
337 | -#if defined(__FreeBSD__)
|
---|
338 | +#if defined(__FreeBSD__) || defined (__linux__)
|
---|
339 | #define __suseconds_t_defined // It exists on FreeBSD, but doesn't define this
|
---|
340 | #endif
|
---|
341 |
|
---|
342 | --- programs/mythbackend/housekeeper.cpp
|
---|
343 | +++ programs/mythbackend/housekeeper.cpp
|
---|
344 | @@ -10,6 +10,7 @@
|
---|
345 | #include <qfileinfo.h>
|
---|
346 |
|
---|
347 | #include <iostream>
|
---|
348 | +#include <cstdlib>
|
---|
349 | using namespace std;
|
---|
350 |
|
---|
351 | #include "housekeeper.h"
|
---|
352 | --- programs/mythbackend/httpstatus.cpp
|
---|
353 | +++ programs/mythbackend/httpstatus.cpp
|
---|
354 | @@ -23,6 +23,7 @@
|
---|
355 | #include <qbuffer.h>
|
---|
356 | #include <qprocess.h>
|
---|
357 | #include <math.h>
|
---|
358 | +#include <stdlib.h>
|
---|
359 |
|
---|
360 | #include "../../config.h"
|
---|
361 |
|
---|
362 | --- programs/mythbackend/main.cpp
|
---|
363 | +++ programs/mythbackend/main.cpp
|
---|
364 | @@ -18,6 +18,7 @@
|
---|
365 |
|
---|
366 | #include <iostream>
|
---|
367 | #include <fstream>
|
---|
368 | +#include <cstdlib>
|
---|
369 | using namespace std;
|
---|
370 |
|
---|
371 | #include "tv_rec.h"
|
---|
372 | --- programs/mythcommflag/BlankFrameDetector.cpp
|
---|
373 | +++ programs/mythcommflag/BlankFrameDetector.cpp
|
---|
374 | @@ -1,4 +1,5 @@
|
---|
375 | #include <stdio.h>
|
---|
376 | +#include <stdlib.h>
|
---|
377 | #include <math.h>
|
---|
378 |
|
---|
379 | #include "mythcontext.h" /* gContext */
|
---|
380 | --- programs/mythcommflag/ClassicLogoDetector.cpp
|
---|
381 | +++ programs/mythcommflag/ClassicLogoDetector.cpp
|
---|
382 | @@ -1,4 +1,5 @@
|
---|
383 | #include <unistd.h>
|
---|
384 | +#include <stdlib.h>
|
---|
385 |
|
---|
386 | #include "ClassicLogoDetector.h"
|
---|
387 | #include "ClassicCommDetector.h"
|
---|
388 | --- programs/mythcommflag/EdgeDetector.cpp
|
---|
389 | +++ programs/mythcommflag/EdgeDetector.cpp
|
---|
390 | @@ -1,3 +1,4 @@
|
---|
391 | +#include <stdlib.h>
|
---|
392 | #include "NuppelVideoPlayer.h"
|
---|
393 | extern "C" {
|
---|
394 | #include "avcodec.h" // AVPicture
|
---|
395 | --- programs/mythcommflag/Histogram.cpp
|
---|
396 | +++ programs/mythcommflag/Histogram.cpp
|
---|
397 | @@ -1,6 +1,7 @@
|
---|
398 | #include "Histogram.h"
|
---|
399 | #include <string>
|
---|
400 | #include <cmath>
|
---|
401 | +#include <cstring>
|
---|
402 |
|
---|
403 | Histogram::Histogram()
|
---|
404 | {
|
---|
405 | --- programs/mythcommflag/SceneChangeDetector.cpp
|
---|
406 | +++ programs/mythcommflag/SceneChangeDetector.cpp
|
---|
407 | @@ -1,4 +1,5 @@
|
---|
408 | #include <stdio.h>
|
---|
409 | +#include <stdlib.h>
|
---|
410 | #include <math.h>
|
---|
411 |
|
---|
412 | #include "mythcontext.h" /* gContext */
|
---|
413 | --- programs/mythcommflag/TemplateFinder.cpp
|
---|
414 | +++ programs/mythcommflag/TemplateFinder.cpp
|
---|
415 | @@ -1,3 +1,4 @@
|
---|
416 | +#include <stdlib.h>
|
---|
417 | #include <qfile.h>
|
---|
418 | #include <qfileinfo.h>
|
---|
419 | #include <math.h>
|
---|
420 | --- programs/mythcommflag/TemplateMatcher.cpp
|
---|
421 | +++ programs/mythcommflag/TemplateMatcher.cpp
|
---|
422 | @@ -1,4 +1,5 @@
|
---|
423 | #include <stdio.h>
|
---|
424 | +#include <stdlib.h>
|
---|
425 | #include <math.h>
|
---|
426 |
|
---|
427 | #include "NuppelVideoPlayer.h"
|
---|
428 | --- programs/mythfilldatabase/channeldata.cpp
|
---|
429 | +++ programs/mythfilldatabase/channeldata.cpp
|
---|
430 | @@ -5,6 +5,7 @@
|
---|
431 |
|
---|
432 | // C++ headers
|
---|
433 | #include <iostream>
|
---|
434 | +#include <cstdlib>
|
---|
435 |
|
---|
436 | // libmyth headers
|
---|
437 | #include "mythcontext.h"
|
---|
438 | --- programs/mythfilldatabase/icondata.cpp
|
---|
439 | +++ programs/mythfilldatabase/icondata.cpp
|
---|
440 | @@ -11,6 +11,7 @@
|
---|
441 | #include <qfileinfo.h>
|
---|
442 |
|
---|
443 | #include <iostream>
|
---|
444 | +#include <cstdlib>
|
---|
445 | using namespace std;
|
---|
446 |
|
---|
447 | // libmyth headers
|
---|
448 | --- programs/mythfilldatabase/main.cpp
|
---|
449 | +++ programs/mythfilldatabase/main.cpp
|
---|
450 | @@ -3,6 +3,7 @@
|
---|
451 |
|
---|
452 | // C++ headers
|
---|
453 | #include <iostream>
|
---|
454 | +#include <cstdlib>
|
---|
455 | using namespace std;
|
---|
456 |
|
---|
457 | // Qt headers
|
---|
458 | --- programs/mythfilldatabase/xmltvparser.cpp
|
---|
459 | +++ programs/mythfilldatabase/xmltvparser.cpp
|
---|
460 | @@ -5,6 +5,7 @@
|
---|
461 |
|
---|
462 | // C++ headers
|
---|
463 | #include <iostream>
|
---|
464 | +#include <cstdlib>
|
---|
465 |
|
---|
466 | // libmyth headers
|
---|
467 | #include "exitcodes.h"
|
---|
468 | --- programs/mythfrontend/main.cpp
|
---|
469 | +++ programs/mythfrontend/main.cpp
|
---|
470 | @@ -4,6 +4,7 @@
|
---|
471 | #include <qfileinfo.h>
|
---|
472 | #include <qmap.h>
|
---|
473 | #include <unistd.h>
|
---|
474 | +#include <stdlib.h>
|
---|
475 | #include <qdir.h>
|
---|
476 | #include <qtextcodec.h>
|
---|
477 | #include <qwidget.h>
|
---|
478 | --- programs/mythfrontend/playbackbox.cpp
|
---|
479 | +++ programs/mythfrontend/playbackbox.cpp
|
---|
480 | @@ -20,6 +20,7 @@
|
---|
481 |
|
---|
482 | #include <cmath>
|
---|
483 | #include <unistd.h>
|
---|
484 | +#include <stdlib.h>
|
---|
485 |
|
---|
486 | #include <iostream>
|
---|
487 | using namespace std;
|
---|
488 | --- programs/mythfrontend/statusbox.cpp
|
---|
489 | +++ programs/mythfrontend/statusbox.cpp
|
---|
490 | @@ -8,6 +8,7 @@
|
---|
491 | #include <qhostaddress.h>
|
---|
492 |
|
---|
493 | #include <unistd.h>
|
---|
494 | +#include <stdlib.h>
|
---|
495 |
|
---|
496 | #include <iostream>
|
---|
497 | #include <cerrno>
|
---|
498 | --- programs/mythfrontend/viewscheduled.cpp
|
---|
499 | +++ programs/mythfrontend/viewscheduled.cpp
|
---|
500 | @@ -9,6 +9,8 @@
|
---|
501 | #include <qregexp.h>
|
---|
502 | #include <qheader.h>
|
---|
503 |
|
---|
504 | +#include <stdlib.h>
|
---|
505 | +
|
---|
506 | #include <iostream>
|
---|
507 | using namespace std;
|
---|
508 |
|
---|
509 | --- programs/mythlcdserver/lcdprocclient.cpp
|
---|
510 | +++ programs/mythlcdserver/lcdprocclient.cpp
|
---|
511 | @@ -9,6 +9,7 @@
|
---|
512 | #include <qapplication.h>
|
---|
513 | #include <qregexp.h>
|
---|
514 | #include <unistd.h>
|
---|
515 | +#include <stdlib.h>
|
---|
516 | #include <cmath>
|
---|
517 |
|
---|
518 | #include "lcdprocclient.h"
|
---|
519 | --- programs/mythlcdserver/lcdserver.cpp
|
---|
520 | +++ programs/mythlcdserver/lcdserver.cpp
|
---|
521 | @@ -55,6 +55,7 @@
|
---|
522 |
|
---|
523 | */
|
---|
524 |
|
---|
525 | +#include <stdlib.h>
|
---|
526 | #include <qstringlist.h>
|
---|
527 | #include <qregexp.h>
|
---|
528 | #include <qdir.h>
|
---|
529 | --- programs/mythshutdown/main.cpp
|
---|
530 | +++ programs/mythshutdown/main.cpp
|
---|
531 | @@ -3,6 +3,7 @@
|
---|
532 | #include <qtextstream.h>
|
---|
533 |
|
---|
534 | #include <iostream>
|
---|
535 | +#include <cstdlib>
|
---|
536 | using namespace std;
|
---|
537 | #include <unistd.h>
|
---|
538 |
|
---|
539 | --- programs/mythtvosd/main.cpp
|
---|
540 | +++ programs/mythtvosd/main.cpp
|
---|
541 | @@ -3,6 +3,7 @@
|
---|
542 | #include <sys/socket.h>
|
---|
543 |
|
---|
544 | #include <iostream>
|
---|
545 | +#include <cstdlib>
|
---|
546 |
|
---|
547 | #include <qapplication.h>
|
---|
548 | #include <qsocketdevice.h>
|
---|
549 | --- programs/mythuitest/main.cpp
|
---|
550 | +++ programs/mythuitest/main.cpp
|
---|
551 | @@ -2,6 +2,7 @@
|
---|
552 | #include <qsqldatabase.h>
|
---|
553 |
|
---|
554 | #include <iostream>
|
---|
555 | +#include <cstdlib>
|
---|
556 | using namespace std;
|
---|
557 |
|
---|
558 | #include "mythmainwindow.h"
|
---|
559 | --- programs/mythwelcome/welcomedialog.cpp
|
---|
560 | +++ programs/mythwelcome/welcomedialog.cpp
|
---|
561 | @@ -1,4 +1,5 @@
|
---|
562 | #include <unistd.h>
|
---|
563 | +#include <stdlib.h>
|
---|
564 | #include <sys/wait.h> // For WIFEXITED on Mac OS X
|
---|
565 |
|
---|
566 | // qt
|
---|