X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fwayland%2Ffg_internal_wl.h;fp=src%2Fwayland%2Ffg_internal_wl.h;h=de15ee4b57af7547bc7246b3c207934235ca8af1;hb=ac0cc7254464a1e6deea091c4fd37e6e7fb211f5;hp=81bd5bc2b2ec0267471c7ae3b168fc00dd01266c;hpb=7d49820494b8cc5594dcad70be147541351ea803;p=freeglut diff --git a/src/wayland/fg_internal_wl.h b/src/wayland/fg_internal_wl.h index 81bd5bc..de15ee4 100644 --- a/src/wayland/fg_internal_wl.h +++ b/src/wayland/fg_internal_wl.h @@ -105,18 +105,7 @@ struct tagSFG_PlatformWindowState /* XXX The below hack is done until freeglut's autoconf is updated. */ # define HAVE_USB_JS 1 -# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -# include -# else -/* - * XXX NetBSD/amd64 systems may find that they have to steal the - * XXX /usr/include/machine/joystick.h from a NetBSD/i386 system. - * XXX I cannot comment whether that works for the interface, but - * XXX it lets you compile...(^& I do not think that we can do away - * XXX with this header. - */ -# include /* For analog joysticks */ -# endif +# include # define JS_DATA_TYPE joystick # define JS_RETURN (sizeof(struct JS_DATA_TYPE)) # endif