diff --git a/src/GUI.cpp b/src/GUI.cpp index 4b5ab5011..d5429c1fe 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -68,7 +68,7 @@ #ifdef W_WS_WIN #include -#include +const int UNLEN = 256; #endif using namespace libtorrent; diff --git a/src/main.cpp b/src/main.cpp index 7c87e941b..86fb8efae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,7 +58,7 @@ #include "stacktrace.h" #else #include -#include +const int UNLEN = 256; #endif #include