0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

stream_cdda: suppress -Wstrict-prototypes from cdio

This commit is contained in:
Kacper Michajłow 2023-10-14 16:12:17 +02:00 committed by Dudemanguy
parent 1ea1359a82
commit 4e6325d012

View File

@ -25,6 +25,8 @@
#define OLD_API
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#ifdef OLD_API
#include <cdio/cdda.h>
#include <cdio/paranoia.h>
@ -32,6 +34,7 @@
#include <cdio/paranoia/cdda.h>
#include <cdio/paranoia/paranoia.h>
#endif
#pragma GCC diagnostic pop
#include <stdio.h>
#include <stdlib.h>