hw/xwin: Fix implicit-function-declaration warning in XwinExtensionInit() when compiled with XWIN_GLX_WINDOWS defined
InitOutput.c: In function ‘XwinExtensionInit’: InitOutput.c:170:9: error: implicit declaration of function ‘glxWinPushNativeProvider’ [-Werror=implicit-function-declaration] glxWinPushNativeProvider(); ^ InitOutput.c:170:9: warning: nested extern declaration of ‘glxWinPushNativeProvider’ [-Wnested-externs] Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
caf1dec2a7
commit
dec5e9899b
|
@ -58,8 +58,11 @@ typedef WINAPI HRESULT(*SHGETFOLDERPATHPROC) (HWND hwndOwner,
|
|||
HANDLE hToken,
|
||||
DWORD dwFlags, LPTSTR pszPath);
|
||||
#endif
|
||||
|
||||
#include "glx_extinit.h"
|
||||
#ifdef XWIN_GLX_WINDOWS
|
||||
#include "glx/glwindows.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* References to external symbols
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user