Use <sys/joystick.h> on netbsd, too.
authorMaya Rashish <maya@NetBSD.org>
Tue, 22 Oct 2019 08:12:44 +0000 (08:12 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Tue, 22 Oct 2019 08:12:44 +0000 (08:12 +0000)
commitac0cc7254464a1e6deea091c4fd37e6e7fb211f5
tree465564b244b7022be58337691f28619414c13b60
parent7d49820494b8cc5594dcad70be147541351ea803
Use <sys/joystick.h> on netbsd, too.

<machine/joystick.h> is a compatibility header that only includes
<sys/joystick.h>, and wasn't added to newer architectures.

This helps the build on netbsd/aarch64.

(cherry picked from commit bcfbede38ae8a2ec6933068dfb489e04bc9cc12e)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1860 7f0cb862-5218-0410-a997-914c9d46530a
src/wayland/fg_internal_wl.h
src/x11/fg_internal_x11.h