diff --git a/Base/Util/Assert.h b/Base/Util/Assert.h
index 24a05cb62fbe055179a4fdb2626088d696dfd9ed..09f0467974f76e25f7d59cbe4dde7332e73156af 100644
--- a/Base/Util/Assert.h
+++ b/Base/Util/Assert.h
@@ -18,7 +18,6 @@
 #ifndef BORNAGAIN_BASE_UTIL_ASSERT_H
 #define BORNAGAIN_BASE_UTIL_ASSERT_H
 
-#include "Wrap/WinDllMacros.h"
 #include <string>
 
 // ASSERT macro: terminate if condition is false.
diff --git a/Device/IO/ImportSettings.h b/Device/IO/ImportSettings.h
index 28421c14f4191472ceeb8bf88b242aa92cac357d..ac7aa69f1f0dac0013c2cb9115de4c2371345a8f 100644
--- a/Device/IO/ImportSettings.h
+++ b/Device/IO/ImportSettings.h
@@ -16,7 +16,6 @@
 #define BORNAGAIN_DEVICE_IO_IMPORTSETTINGS_H
 
 #include "Base/Axis/Coordinate.h"
-#include "Wrap/WinDllMacros.h"
 #include <string>
 
 //! This parameterization can be set interactively by GUI users.