diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-16 16:17:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-16 16:17:10 +0300 |
commit | ba9fac97eb0afba27e7d35bef34255c8ac436295 (patch) | |
tree | c17598a7df4f8a61a61cf53a753cfaa938aeb23e /src/utils/copynpaste.cpp | |
parent | 28658bf384121e2522c95e9a2e1c1d7530f0fcd7 (diff) | |
download | manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.gz manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.bz2 manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.xz manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.zip |
fix compilation with SDL2.
Diffstat (limited to 'src/utils/copynpaste.cpp')
-rw-r--r-- | src/utils/copynpaste.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp index 134f7ba1b..20af28454 100644 --- a/src/utils/copynpaste.cpp +++ b/src/utils/copynpaste.cpp @@ -44,6 +44,8 @@ #include "debug.h" #ifdef USE_SDL2 +#include <SDL_clipboard.h> + bool retrieveBuffer(std::string& text, size_t& pos) { char *buf = SDL_GetClipboardText(); |