From ea6f725b4132d9ee338513d1cbd50d26890ce10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Stenac?= Date: Sun, 26 Nov 2006 17:22:54 +0000 Subject: [PATCH] Ah Ah --- modules/gui/macosx/controls.m | 5 ++++- src/input/input.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m index 48825bfdb6..fe53d299c5 100644 --- a/modules/gui/macosx/controls.m +++ b/modules/gui/macosx/controls.m @@ -39,6 +39,9 @@ #import "playlist.h" #include +/* UGLY UGLY UGLY FIXME FIXME FIXME. Need solution for b_can_pace_control. + * Put it public ? Is it needed here ?*/ +#include "../../../src/input/input_internal.h" /***************************************************************************** * VLCControls implementation @@ -785,7 +788,7 @@ { if( p_input != NULL ) { - bEnabled = p_input->input.b_can_pace_control; + bEnabled = p_input->p->input.b_can_pace_control; } else { diff --git a/src/input/input.c b/src/input/input.c index 5111280a62..482fffd7d1 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -38,7 +38,7 @@ #include #include #include - +#include #include #ifdef HAVE_SYS_STAT_H -- GitLab