From cecae7cdc3d5c550d5f394894265757f17620f5a Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 27 May 2019 21:56:07 +0200 Subject: [PATCH] Fix xine metronom compile --- src/engine/xineengine.cpp | 9 +++++++++ src/engine/xineengine.h | 4 ++++ src/engine/xinescope.c | 4 +++- src/engine/xinescope.h | 4 +++- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/engine/xineengine.cpp b/src/engine/xineengine.cpp index 60aac902a..b883353ad 100644 --- a/src/engine/xineengine.cpp +++ b/src/engine/xineengine.cpp @@ -15,12 +15,21 @@ #include "config.h" +#ifndef XINE_ENGINE_INTERNAL +# define XINE_ENGINE_INTERNAL +#endif + +#ifndef METRONOM_INTERNAL +# define METRONOM_INTERNAL +#endif + #include #include #include #include #include #include +#include #include #include diff --git a/src/engine/xineengine.h b/src/engine/xineengine.h index 1ceb2e76a..9f7e22644 100644 --- a/src/engine/xineengine.h +++ b/src/engine/xineengine.h @@ -18,6 +18,10 @@ #include "config.h" +#ifndef XINE_ENGINE_INTERNAL +# define XINE_ENGINE_INTERNAL +#endif + #include #include #include diff --git a/src/engine/xinescope.c b/src/engine/xinescope.c index 0e2489824..f01e798ed 100644 --- a/src/engine/xinescope.c +++ b/src/engine/xinescope.c @@ -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" diff --git a/src/engine/xinescope.h b/src/engine/xinescope.h index a30ff5c28..2f57d1c6c 100644 --- a/src/engine/xinescope.h +++ b/src/engine/xinescope.h @@ -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"