Skip to content
Permalink
Browse files

Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version

  • Loading branch information
slouken committed Oct 10, 2009
1 parent c6e1acf commit ba2b08d90c1065834cf86e67b56a3196e25537ba
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/joystick/bsd/SDL_sysjoystick.c
@@ -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

0 comments on commit ba2b08d

Please sign in to comment.