diff --git a/api/graphics_api.C b/api/graphics_api.C index 7dff94d6e8..447dbec107 100755 --- a/api/graphics_api.C +++ b/api/graphics_api.C @@ -17,6 +17,11 @@ // Contributor(s): // +#ifdef _WIN32 +#include +DWORD WINAPI win_graphics_event_loop( LPVOID duff ); +#endif + #ifdef BOINC_APP_GRAPHICS #ifdef __APPLE_CC__ #include @@ -34,11 +39,6 @@ #include "parse.h" -#ifdef _WIN32 -#include -DWORD WINAPI win_graphics_event_loop( LPVOID duff ); -#endif - #ifdef __APPLE_CC__ #include "mac_app_opengl.h" #endif