diff --git a/src/utils/globalvalues.h b/src/utils/globalvalues.h
index 46ea2e9a..656306bd 100644
--- a/src/utils/globalvalues.h
+++ b/src/utils/globalvalues.h
@@ -15,10 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see .
-#define pragma once
-
-#include
-#include "src/widgets/capture/capturebutton.h"
+#pragma once
namespace GlobalValues {