From a3d3f72bf571d46fc03c62b5aae51f5cc94d6999 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 20 Feb 2010 11:13:29 +0100 Subject: 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. --- src/multimedia/qml/qsoundeffect_pulse_p.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 #endif +#include + // Less than ideal #define PA_SCACHE_ENTRY_SIZE_MAX (1024*1024*16) -- cgit v0.12