diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-20 10:13:29 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-20 10:14:43 (GMT) |
commit | a3d3f72bf571d46fc03c62b5aae51f5cc94d6999 (patch) | |
tree | b01e6ab002e92276baa57925a46d161ed4eff3cf /src | |
parent | f0eb658611f549470f0d90e141eda61ab9301838 (diff) | |
download | Qt-a3d3f72bf571d46fc03c62b5aae51f5cc94d6999.zip Qt-a3d3f72bf571d46fc03c62b5aae51f5cc94d6999.tar.gz Qt-a3d3f72bf571d46fc03c62b5aae51f5cc94d6999.tar.bz2 |
Fix compilation on recent Linux systems: getpid(2) is in unistd.h.
Newer Linux systems (glibc 2.10, gcc 4.4) are much better at not
leaking symbols, so you have to include the proper headers.
Diffstat (limited to 'src')
-rw-r--r-- | src/multimedia/qml/qsoundeffect_pulse_p.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/qml/qsoundeffect_pulse_p.cpp b/src/multimedia/qml/qsoundeffect_pulse_p.cpp index b1e5982..de02dac 100644 --- a/src/multimedia/qml/qsoundeffect_pulse_p.cpp +++ b/src/multimedia/qml/qsoundeffect_pulse_p.cpp @@ -67,6 +67,8 @@ #include <pulse/ext-stream-restore.h> #endif +#include <unistd.h> + // Less than ideal #define PA_SCACHE_ENTRY_SIZE_MAX (1024*1024*16) |