From 4beedec3adbb1f7a08dd794db34d0e56c2863cfe Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 5 Nov 2024 12:31:20 +0100 Subject: [PATCH] MusicChunk: add missing include --- src/MusicChunk.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/MusicChunk.hxx b/src/MusicChunk.hxx index a2cdcc5af..1f8692667 100644 --- a/src/MusicChunk.hxx +++ b/src/MusicChunk.hxx @@ -1,8 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later // Copyright The Music Player Daemon Project -#ifndef MPD_MUSIC_CHUNK_HXX -#define MPD_MUSIC_CHUNK_HXX +#pragma once #include "MusicChunkPtr.hxx" #include "Chrono.hxx" @@ -12,6 +11,7 @@ #include "pcm/AudioFormat.hxx" #endif +#include #include #include #include @@ -130,5 +130,3 @@ struct MusicChunk : MusicChunkInfo { }; static_assert(sizeof(MusicChunk) == CHUNK_SIZE, "Wrong size"); - -#endif