diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-07 04:43:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-07 04:43:04 +0300 |
commit | bc7d91cc0c9c0f6dcad01d612932c6899afb5514 (patch) | |
tree | ef023ba9ec06ddedf261dad412187645df475e02 /src/utils | |
parent | d5d38cf61d5e8664eb3a1b48863bf8a835e7f28c (diff) | |
download | manaverse-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.gz manaverse-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.bz2 manaverse-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.xz manaverse-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.zip |
Fix compilation under gcc 4.7 snapshot.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/copynpaste.cpp | 3 |
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) { |