Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version
--HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404025
This commit is contained in:
parent
279116cdd6
commit
600685ad07
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include <sys/param.h>
|
||||||
|
#ifndef __FreeBSD_kernel_version
|
||||||
|
#define __FreeBSD_kernel_version __FreeBSD_version
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_USB_H)
|
#if defined(HAVE_USB_H)
|
||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue