diff --git a/GUI/Support/IO/ImportDataInfo.cpp b/GUI/Support/IO/ImportDataInfo.cpp
index 5d20dbda93e2ec2bb317bfc1e6d433664246a3ac..7bb9d4e8c0ac9a7583217e68ca2f4a09be56e8d5 100644
--- a/GUI/Support/IO/ImportDataInfo.cpp
+++ b/GUI/Support/IO/ImportDataInfo.cpp
@@ -19,6 +19,7 @@
 #include "Device/Data/Datafield.h"
 #include "GUI/Support/Util/CoordName.h"
 #include <map>
+#include <stdexcept>
 
 ImportDataInfo::ImportDataInfo(ImportDataInfo&& other)
     : m_data(std::move(other.m_data))