diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmyth/programinfoupdater.cpp MythTV-mythtv-c239b59/mythtv/libs/libmyth/programinfoupdater.cpp
old
|
new
|
|
| 1 | #include <unistd.h> |
| 2 | |
1 | 3 | #include "programinfoupdater.h" |
2 | 4 | #include "remoteutil.h" |
3 | 5 | #include "compat.h" |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/httpcomms.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/httpcomms.cpp
old
|
new
|
|
6 | 6 | #include <QTimer> |
7 | 7 | #include <QFile> |
8 | 8 | |
| 9 | #include <unistd.h> |
| 10 | |
9 | 11 | #include "mythverbose.h" |
10 | 12 | #include "compat.h" |
11 | 13 | #include "mcodecs.h" |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/lcddevice.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/lcddevice.cpp
old
|
new
|
|
12 | 12 | #include <cmath> |
13 | 13 | #include <fcntl.h> |
14 | 14 | #include <errno.h> |
| 15 | #include <unistd.h> |
15 | 16 | |
16 | 17 | # ifdef linux |
17 | 18 | # include <sys/vfs.h> |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdbcon.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdbcon.cpp
old
|
new
|
|
1 | 1 | // ANSI C |
2 | 2 | #include <cstdlib> |
| 3 | #include <unistd.h> |
3 | 4 | |
4 | 5 | // Qt |
5 | 6 | #include <QVector> |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdownloadmanager.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdownloadmanager.cpp
old
|
new
|
|
6 | 6 | #include <QDir> |
7 | 7 | #include <QThreadPool> |
8 | 8 | |
| 9 | #include <unistd.h> |
| 10 | |
9 | 11 | // libmythdb |
10 | 12 | #include "stdlib.h" |
11 | 13 | #include "compat.h" |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocket.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocket.cpp
old
|
new
|
|
2 | 2 | #include <cstdlib> |
3 | 3 | #include <cassert> |
4 | 4 | #include <cerrno> |
| 5 | #include <unistd.h> |
5 | 6 | |
6 | 7 | #include "compat.h" |
7 | 8 | |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocketthread.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocketthread.cpp
old
|
new
|
|
14 | 14 | #include <sys/types.h> // for fnctl |
15 | 15 | #include <fcntl.h> // for fnctl |
16 | 16 | #include <errno.h> // for checking errno |
| 17 | #include <unistd.h> // for read, write, close, pipe |
17 | 18 | |
18 | 19 | #ifndef O_NONBLOCK |
19 | 20 | #define O_NONBLOCK 0 /* not actually supported in MINGW */ |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/remotefile.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythdb/remotefile.cpp
old
|
new
|
|
1 | 1 | #include <iostream> |
2 | 2 | using namespace std; |
3 | 3 | |
| 4 | #include <unistd.h> |
4 | 5 | #include <QUrl> |
5 | 6 | |
6 | 7 | #include "mythconfig.h" |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/audioinputoss.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythtv/audioinputoss.cpp
old
|
new
|
|
30 | 30 | #include "audioinputoss.h" |
31 | 31 | #include "mythverbose.h" |
32 | 32 | #include <fcntl.h> |
| 33 | #include <unistd.h> |
33 | 34 | #include <sys/ioctl.h> |
34 | 35 | |
35 | 36 | #define LOC QString("AudioInOSS: ") |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp
old
|
new
|
|
| 1 | #include <unistd.h> |
| 2 | |
1 | 3 | #include "privatedecoder_crystalhd.h" |
2 | 4 | #include "myth_imgconvert.h" |
3 | 5 | |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythui/mythrender_vdpau.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythui/mythrender_vdpau.cpp
old
|
new
|
|
1 | 1 | #include "math.h" |
| 2 | #include <unistd.h> |
2 | 3 | |
3 | 4 | #include <QSize> |
4 | 5 | |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnpdevice.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnpdevice.cpp
old
|
new
|
|
26 | 26 | #include "httpcomms.h" |
27 | 27 | |
28 | 28 | #include <cerrno> |
| 29 | #include <unistd.h> |
29 | 30 | |
30 | 31 | #include <QFile> |
31 | 32 | #include <QTextStream> |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasknotify.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasknotify.cpp
old
|
new
|
|
23 | 23 | |
24 | 24 | // ANSI C headers |
25 | 25 | #include <cstdlib> |
| 26 | #include <unistd.h> |
26 | 27 | |
27 | 28 | // Qt headers |
28 | 29 | #include <QStringList> |
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasksearch.cpp MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasksearch.cpp
old
|
new
|
|
23 | 23 | |
24 | 24 | #include <compat.h> |
25 | 25 | #include <stdlib.h> |
| 26 | #include <unistd.h> |
26 | 27 | |
27 | 28 | #include <QStringList> |
28 | 29 | #include <QFile> |