Fix xine metronom compile

This commit is contained in:
Jonas Kvinge 2019-05-27 21:56:07 +02:00
parent e5f3123567
commit cecae7cdc3
4 changed files with 19 additions and 2 deletions

View File

@ -15,12 +15,21 @@
#include "config.h"
#ifndef XINE_ENGINE_INTERNAL
# define XINE_ENGINE_INTERNAL
#endif
#ifndef METRONOM_INTERNAL
# define METRONOM_INTERNAL
#endif
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <xine.h>
#include <xine/metronom.h>
#include <memory>
#include <cstdlib>

View File

@ -18,6 +18,10 @@
#include "config.h"
#ifndef XINE_ENGINE_INTERNAL
# define XINE_ENGINE_INTERNAL
#endif
#include <memory>
#include <stdbool.h>
#include <stdint.h>

View File

@ -6,7 +6,9 @@
*/
/* need access to port_ticket */
#define XINE_ENGINE_INTERNAL
#ifndef XINE_ENGINE_INTERNAL
# define XINE_ENGINE_INTERNAL
#endif
#include "config.h"

View File

@ -8,7 +8,9 @@
#define XINESCOPE_H
/* need access to some stuff for scope time stamping */
#define METRONOM_INTERNAL
#ifndef METRONOM_INTERNAL
# define METRONOM_INTERNAL
#endif
#include "config.h"