diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-04-10 18:04:17 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-04-10 18:13:00 +0100 |
commit | 1184764e2108e90ea62961cd4e7497677ddb8c2c (patch) | |
tree | 6907d08ae0618d03bc5b62877ffcd0a2d94d1230 /hw/xwin | |
parent | 9b2294c03f436c847844b6e8f9f486f0f001f2f4 (diff) |
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]
Diffstat (limited to 'hw/xwin')
-rw-r--r-- | hw/xwin/InitOutput.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOutput.c index 82bb78cbc..9afd6a72b 100644 --- a/hw/xwin/InitOutput.c +++ b/hw/xwin/InitOutput.c @@ -56,6 +56,9 @@ typedef WINAPI HRESULT(*SHGETFOLDERPATHPROC) (HWND hwndOwner, #include "pseudoramiX/pseudoramiX.h" #include "glx_extinit.h" #include "dixmain.h" +#ifdef XWIN_GLX_WINDOWS +#include "glx/glwindows.h" +#endif /* * References to external symbols |