summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-07 04:43:04 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-07 04:43:04 +0300
commitbc7d91cc0c9c0f6dcad01d612932c6899afb5514 (patch)
treeef023ba9ec06ddedf261dad412187645df475e02 /src/utils
parentd5d38cf61d5e8664eb3a1b48863bf8a835e7f28c (diff)
downloadplus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.gz
plus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.bz2
plus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.xz
plus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.zip
Fix compilation under gcc 4.7 snapshot.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 6d1c675d3..ed9f0f641 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -284,6 +284,9 @@ bool sendBuffer(std::string& text)
}
#elif USE_X11
+
+#include <unistd.h>
+
static char* getSelection2(Display *dpy, Window us, Atom selection,
Atom request_target)
{