From 1d81ddb1aea441d32a716648f1573ef3873ec998 Mon Sep 17 00:00:00 2001 From: Colin Gilgenbach Date: Wed, 14 Jun 2017 15:00:09 -0500 Subject: [PATCH] Fix conflicting symbols in linux build Fixes conflicting symbol "Success", defined as macro in X11/X.h, while also being defined in enum Screenshot::Result. --- tools/screenshot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/screenshot.cpp b/tools/screenshot.cpp index 07cdfc9..64cc7d8 100644 --- a/tools/screenshot.cpp +++ b/tools/screenshot.cpp @@ -43,6 +43,7 @@ #ifdef Q_OS_LINUX #include #include + #undef Success #include #endif