Skip to content

Commit

Permalink
Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 10, 2009
1 parent c6e1acf commit ba2b08d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/joystick/bsd/SDL_sysjoystick.c
Expand Up @@ -36,6 +36,11 @@
#include <fcntl.h>
#include <errno.h>

#include <sys/param.h>
#ifndef __FreeBSD_kernel_version
#define __FreeBSD_kernel_version __FreeBSD_version
#endif

#if defined(HAVE_USB_H)
#include <usb.h>
#endif
Expand Down

0 comments on commit ba2b08d

Please sign in to comment.