diff --git a/include/winquake.h b/include/winquake.h index 77a7d4c15..c87df72f9 100644 --- a/include/winquake.h +++ b/include/winquake.h @@ -71,13 +71,16 @@ extern HINSTANCE global_hInstance; extern int global_nCmdShow; + #ifdef HAVE_DDRAW_H +# include extern LPDIRECTDRAW lpDD; extern LPDIRECTDRAWSURFACE lpPrimary; extern LPDIRECTDRAWSURFACE lpFrontBuffer; extern LPDIRECTDRAWSURFACE lpBackBuffer; extern LPDIRECTDRAWPALETTE lpDDPal; #endif + #ifdef HAVE_DSOUND_H extern LPDIRECTSOUND pDS; extern LPDIRECTSOUNDBUFFER pDSBuf;