1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-27 15:49:43 +01:00

Include cstddef before libcdio includes

Fixes #1610
This commit is contained in:
Jonas Kvinge 2024-11-29 22:50:49 +01:00
parent 2548b4648e
commit d396cb515d
4 changed files with 19 additions and 17 deletions

View File

@ -24,9 +24,6 @@
#include "config.h"
#include <cdio/cdio.h>
#include <gst/audio/gstaudiocdsrc.h>
#include <QObject>
#include <QString>
#include <QStringList>

View File

@ -21,6 +21,11 @@
#include <config.h>
#include <cstddef>
#include <cdio/cdio.h>
#include <cdio/device.h>
#include <QtGlobal>
#include <QFileInfo>
#include <QByteArray>
@ -30,10 +35,6 @@
#include <QRegularExpression>
#include <QUrl>
// This must come after Qt includes
#include <cdio/cdio.h>
#include <cdio/device.h>
#include "cddalister.h"
#include "core/logging.h"

View File

@ -24,10 +24,16 @@
#include <memory>
#include <cstddef>
#include <glib.h>
#include <glib/gtypes.h>
#include <glib-object.h>
#include <cdio/cdio.h>
#include <gst/gst.h>
#include <gst/tag/tag.h>
#include <QtGlobal>
#include <QObject>
#include <QMutex>
@ -35,10 +41,6 @@
#include <QString>
#include <QUrl>
#include <cdio/cdio.h>
#include <gst/gst.h>
#include <gst/tag/tag.h>
#include "cddasongloader.h"
#include "includes/shared_ptr.h"
#include "core/logging.h"

View File

@ -24,17 +24,19 @@
#include "config.h"
#include <cstddef>
#include <cdio/types.h>
#include <cdio/cdio.h>
#include <gst/gstelement.h>
#include <gst/audio/gstaudiocdsrc.h>
#include <QObject>
#include <QMutex>
#include <QString>
#include <QUrl>
// These must come after Qt includes
#include <cdio/types.h>
#include <cdio/cdio.h>
#include <gst/gstelement.h>
#include <gst/audio/gstaudiocdsrc.h>
#include "includes/shared_ptr.h"
#include "core/song.h"
#ifdef HAVE_MUSICBRAINZ