diff options
author | stas <stas@FreeBSD.org> | 2009-08-17 04:37:41 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-08-17 04:37:41 +0800 |
commit | 468d83e95c7edc94e824dc0825320eb7c4cb5d72 (patch) | |
tree | f5761de2ebbfbe6bb738869a6222e8a9459ae5f9 /misc | |
parent | 5c31869d8941c6f27e1e0dcb8f30ad37c869922d (diff) | |
download | freebsd-ports-gnome-468d83e95c7edc94e824dc0825320eb7c4cb5d72.tar.gz freebsd-ports-gnome-468d83e95c7edc94e824dc0825320eb7c4cb5d72.tar.zst freebsd-ports-gnome-468d83e95c7edc94e824dc0825320eb7c4cb5d72.zip |
- Fix on 7.x.
Reported by: pav
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ftdi-eeprom/files/patch-ftdi-eeprom.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c b/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c index e1e2958300b8..f5fa3ccea04a 100644 --- a/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c +++ b/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c @@ -1,10 +1,20 @@ ---- ftdi-eeprom.c.orig 2009-08-09 11:21:23.000000000 +0400 -+++ ftdi-eeprom.c 2009-08-09 11:21:37.000000000 +0400 -@@ -44,6 +44,7 @@ +--- ftdi-eeprom.c.orig 2003-02-16 07:02:56.000000000 +0300 ++++ ftdi-eeprom.c 2009-08-17 00:38:28.000000000 +0400 +@@ -34,6 +34,7 @@ + */ + + #include <sys/ioctl.h> ++#include <sys/param.h> + #include <sys/types.h> + #include <errno.h> + #include <fcntl.h> +@@ -44,6 +45,9 @@ #include <string.h> #include <limits.h> #include <dev/usb/usb.h> ++#if __FreeBSD_version >= 800069 +#include <dev/usb/usb_ioctl.h> ++#endif #include "ftdi-eeprom.h" |