desktop/qt-mobility/gcc-4.7_unistd.patch

41 lines
1.1 KiB
Diff

---
plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp | 2 ++
plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp | 2 ++
plugins/multimedia/pulseaudio/qpulseaudioengine.cpp | 2 ++
3 files changed, 6 insertions(+)
--- a/plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp
+++ b/plugins/multimedia/pulseaudio/qaudiooutput_pulse.cpp
@@ -39,6 +39,8 @@
**
****************************************************************************/
+#include <unistd.h>
+
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdebug.h>
--- a/plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp
+++ b/plugins/multimedia/pulseaudio/qaudioinput_pulse.cpp
@@ -39,6 +39,8 @@
**
****************************************************************************/
+#include <unistd.h>
+
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdebug.h>
--- a/plugins/multimedia/pulseaudio/qpulseaudioengine.cpp
+++ b/plugins/multimedia/pulseaudio/qpulseaudioengine.cpp
@@ -39,6 +39,8 @@
**
****************************************************************************/
+#include <unistd.h>
+
#include <QtCore/qdebug.h>
#include <qaudiodeviceinfo.h>