diff --git a/src/decoder/Control.hxx b/src/decoder/Control.hxx
index cad64a81e..27d302875 100644
--- a/src/decoder/Control.hxx
+++ b/src/decoder/Control.hxx
@@ -22,7 +22,7 @@
 
 #include "Command.hxx"
 #include "pcm/AudioFormat.hxx"
-#include "MixRampInfo.hxx"
+#include "tag/MixRampInfo.hxx"
 #include "input/Handler.hxx"
 #include "thread/Mutex.hxx"
 #include "thread/Cond.hxx"
diff --git a/src/decoder/DecoderAPI.hxx b/src/decoder/DecoderAPI.hxx
index f62aec101..871b28de1 100644
--- a/src/decoder/DecoderAPI.hxx
+++ b/src/decoder/DecoderAPI.hxx
@@ -35,8 +35,8 @@
 #include "DecoderPlugin.hxx"
 #include "ReplayGainInfo.hxx"
 #include "tag/Tag.hxx"
+#include "tag/MixRampInfo.hxx"
 #include "pcm/AudioFormat.hxx"
-#include "MixRampInfo.hxx"
 #include "config/Block.hxx"
 #include "Chrono.hxx"
 
diff --git a/src/lib/xiph/FlacStreamMetadata.cxx b/src/lib/xiph/FlacStreamMetadata.cxx
index bdb8f11bb..e9a6d8d22 100644
--- a/src/lib/xiph/FlacStreamMetadata.cxx
+++ b/src/lib/xiph/FlacStreamMetadata.cxx
@@ -21,11 +21,11 @@
 #include "FlacAudioFormat.hxx"
 #include "ScanVorbisComment.hxx"
 #include "pcm/CheckAudioFormat.hxx"
-#include "MixRampInfo.hxx"
 #include "tag/Handler.hxx"
 #include "tag/Builder.hxx"
 #include "tag/Tag.hxx"
 #include "tag/ReplayGain.hxx"
+#include "tag/MixRampInfo.hxx"
 #include "tag/MixRampParser.hxx"
 #include "ReplayGainInfo.hxx"
 #include "util/StringView.hxx"
diff --git a/src/MixRampInfo.hxx b/src/tag/MixRampInfo.hxx
similarity index 100%
rename from src/MixRampInfo.hxx
rename to src/tag/MixRampInfo.hxx
diff --git a/test/tag/TestMixRampParser.cxx b/test/tag/TestMixRampParser.cxx
index 86464c7bd..d9101e616 100644
--- a/test/tag/TestMixRampParser.cxx
+++ b/test/tag/TestMixRampParser.cxx
@@ -18,8 +18,8 @@
  */
 
 #include "tag/MixRampParser.cxx"
+#include "tag/MixRampInfo.hxx"
 #include "util/StringView.hxx"
-#include "MixRampInfo.hxx"
 
 #include <gtest/gtest.h>