Fix playlist API header includes

Most playlist headers did not compile in pure C, as types like bool and size_t are used in calls. Added the proper includes as needed to make each header compile if included standalone.
This commit is contained in:
Kai Blaschke
2025-03-24 09:32:33 +01:00
parent 0227b7a61d
commit 3a79ff4ff2
4 changed files with 10 additions and 1 deletions

View File

@ -27,7 +27,8 @@
#pragma once
#include "projectM-4/playlist_types.h"
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {

View File

@ -28,6 +28,8 @@
#include "projectM-4/playlist_types.h"
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,9 @@
#include "projectM-4/playlist_types.h"
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,9 @@
#include "projectM-4/playlist_types.h"
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif