View | Details | Raw Unified | Return to bug 44291
Collapse All | Expand All

(-)src/js/js.h (-3 / +7 lines)
Lines 63-69 Link Here
63
#  include <fcntl.h>
63
#  include <fcntl.h>
64
64
65
#  if defined(__FreeBSD__) || defined(__NetBSD__)
65
#  if defined(__FreeBSD__) || defined(__NetBSD__)
66
#    include <machine/joystick.h>
66
#    if __FreeBSD_version >= 500000
67
#      include <sys/joystick.h>
68
#    elif
69
#      include <machine/joystick.h>
70
#    endif
67
#    define JS_DATA_TYPE joystick
71
#    define JS_DATA_TYPE joystick
68
#    define JS_RETURN (sizeof(struct JS_DATA_TYPE))
72
#    define JS_RETURN (sizeof(struct JS_DATA_TYPE))
69
#  elif defined(__linux__)
73
#  elif defined(__linux__)
Lines 132-140 Link Here
132
136
133
137
134
138
135
/*#if defined(__FreeBSD__) || defined(__NetBSD__)
139
#if defined(__FreeBSD__) || defined(__NetBSD__)
136
  int          id ;
140
  int          id ;
137
#endif*/
141
#endif
138
#ifdef WIN32
142
#ifdef WIN32
139
  JOYINFOEX    js       ;
143
  JOYINFOEX    js       ;
140
  UINT         js_id    ;
144
  UINT         js_id    ;

Return to bug 44291