added two missing #include <unistd.h> (for int close(int);)
authorThomas Senyk <thomas.senyk@nokia.com>
Tue, 29 May 2012 12:15:20 +0000 (14:15 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Wed, 30 May 2012 06:04:58 +0000 (08:04 +0200)
Change-Id: I9f32108a9a5d758c8dd23be5d72900e7ea7c271b
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/wayland_wrapper/wldataoffer.cpp
src/plugins/platforms/wayland/qwaylanddatasource.cpp

index 4940fca..da8485f 100644 (file)
@@ -45,6 +45,7 @@
 #include <wayland-server.h>
 
 #include <sys/time.h>
+#include <unistd.h>
 
 #include <QtCore/QDebug>
 
index 94058f4..9970c9b 100644 (file)
@@ -48,6 +48,8 @@
 
 #include <QtCore/QDebug>
 
+#include <unistd.h>
+
 void QWaylandDataSource::data_source_target(void *data,
                struct wl_data_source *wl_data_source,
                const char *mime_type)