From 5738b8acbfb23642dc2c1ebef1aa210c9422e67d Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 3 Feb 2014 17:28:51 +0000 Subject: [PATCH] [STRMBASE] * Remove one time inclusions from the main header and put them back where they belong. * Improve header inclusions. CORE-7716 svn path=/trunk/; revision=61962 --- reactos/lib/3rdparty/strmbase/dispatch.c | 2 ++ reactos/lib/3rdparty/strmbase/outputqueue.c | 2 ++ reactos/lib/3rdparty/strmbase/strmbase_private.h | 11 ++++++++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/reactos/lib/3rdparty/strmbase/dispatch.c b/reactos/lib/3rdparty/strmbase/dispatch.c index 97b04e57652..a9ed1591494 100644 --- a/reactos/lib/3rdparty/strmbase/dispatch.c +++ b/reactos/lib/3rdparty/strmbase/dispatch.c @@ -20,6 +20,8 @@ #include "strmbase_private.h" +#include + HRESULT WINAPI BaseDispatch_Init(BaseDispatch *This, REFIID riid) { HRESULT hr = E_FAIL; diff --git a/reactos/lib/3rdparty/strmbase/outputqueue.c b/reactos/lib/3rdparty/strmbase/outputqueue.c index ac54365153a..64392ccb088 100644 --- a/reactos/lib/3rdparty/strmbase/outputqueue.c +++ b/reactos/lib/3rdparty/strmbase/outputqueue.c @@ -20,6 +20,8 @@ #include "strmbase_private.h" +#include + enum {SAMPLE_PACKET, EOS_PACKET}; typedef struct tagQueuedEvent { diff --git a/reactos/lib/3rdparty/strmbase/strmbase_private.h b/reactos/lib/3rdparty/strmbase/strmbase_private.h index 02d75cf0314..7eb5c97057d 100644 --- a/reactos/lib/3rdparty/strmbase/strmbase_private.h +++ b/reactos/lib/3rdparty/strmbase/strmbase_private.h @@ -18,24 +18,29 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include +#include #include +#include #define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H #define WIN32_LEAN_AND_MEAN #define COBJMACROS #define NONAMELESSSTRUCT #define NONAMELESSUNION +#include +#include +#include #include -#include +#include #include #include -#include WINE_DEFAULT_DEBUG_CHANNEL(strmbase); /* Quality Control */