X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_spaceball_mswin.c;h=84d848d820dbd5e9241c97b5cb9946255634f32b;hb=23613f66511be15d205d5bd7bb49883ad8c66624;hp=f9bad2482d9e7b92c23f4afed22e59f563992c4b;hpb=f92518b68600fb6c724efe74179ff3beebb80833;p=freeglut diff --git a/src/mswin/fg_spaceball_mswin.c b/src/mswin/fg_spaceball_mswin.c index f9bad24..84d848d 100644 --- a/src/mswin/fg_spaceball_mswin.c +++ b/src/mswin/fg_spaceball_mswin.c @@ -36,6 +36,8 @@ * six degree of freedom navigator. */ +#if(_WIN32_WINNT >= 0x0501) + #include #include #include "../fg_internal.h" @@ -190,3 +192,5 @@ void fgSpaceballHandleWinEvent(HWND hwnd, WPARAM wParam, LPARAM lParam) } } } + +#endif \ No newline at end of file