Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version

  • Loading branch information
slouken committed Oct 10, 2009
1 parent 47a52b3 commit dad9721666f9a5274cf9bef0d44e876b78370216
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/joystick/bsd/SDL_sysjoystick.c
@@ -36,6 +36,10 @@
#include <fcntl.h>
#include <errno.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 dad9721

Please sign in to comment.