Fix headless build

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2024-07-14 14:08:32 +01:00
parent fab125fe81
commit c36ba1f99c
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -20,12 +20,7 @@ struct Message;
// Base DISTRHO classes // Base DISTRHO classes
#ifndef DISTRHO_DETAILS_HPP_INCLUDED #ifndef DISTRHO_DETAILS_HPP_INCLUDED
namespace CardinalDISTRHO { namespace CardinalDISTRHO {
class Plugin;
class UI;
struct MidiEvent { struct MidiEvent {
static const uint32_t kDataSize = 4; static const uint32_t kDataSize = 4;
uint32_t frame; uint32_t frame;
@ -33,9 +28,19 @@ struct MidiEvent {
uint8_t data[kDataSize]; uint8_t data[kDataSize];
const uint8_t* dataExt; const uint8_t* dataExt;
}; };
} }
#endif
#ifndef DISTRHO_PLUGIN_HPP_INCLUDED
namespace CardinalDISTRHO {
class Plugin;
}
#endif
#ifndef DISTRHO_UI_HPP_INCLUDED
namespace CardinalDISTRHO {
class UI;
}
#endif #endif
// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------