summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-06 14:25:24 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-05-06 14:25:24 -0500
commit0801c28ce2046ed1b9e4cced71d9c82a93862a69 (patch)
tree06f28e0dd304340bf6459925753f711899ac17c4
parentd1e77902f819f731abc7800f1bed69eeb1dc7422 (diff)
downloadrosegarden-0801c28ce2046ed1b9e4cced71d9c82a93862a69.tar.gz
rosegarden-0801c28ce2046ed1b9e4cced71d9c82a93862a69.zip
GCC 4.7 fixes.
Thanks to Francois Andriot.
-rw-r--r--src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp1
-rw-r--r--src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp
index 182eb9b..172ff40 100644
--- a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp
+++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp
@@ -22,6 +22,7 @@
COPYING included with this distribution for more information.
*/
+#include <unistd.h>
#include "AudioPreviewUpdater.h"
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h
index 71b2546..184bb33 100644
--- a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h
+++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h
@@ -28,6 +28,7 @@
#include <stdint.h>
+#include <unistd.h>
#include <tqobject.h>
#include <tqrect.h>
#include <vector>