mirror of https://github.com/mpv-player/mpv
stream_cdda: suppress -Wstrict-prototypes from cdio
This commit is contained in:
parent
1ea1359a82
commit
4e6325d012
|
@ -25,6 +25,8 @@
|
||||||
#define OLD_API
|
#define OLD_API
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
||||||
#ifdef OLD_API
|
#ifdef OLD_API
|
||||||
#include <cdio/cdda.h>
|
#include <cdio/cdda.h>
|
||||||
#include <cdio/paranoia.h>
|
#include <cdio/paranoia.h>
|
||||||
|
@ -32,6 +34,7 @@
|
||||||
#include <cdio/paranoia/cdda.h>
|
#include <cdio/paranoia/cdda.h>
|
||||||
#include <cdio/paranoia/paranoia.h>
|
#include <cdio/paranoia/paranoia.h>
|
||||||
#endif
|
#endif
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue