aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c
blob: f5fa3ccea04ace1b6aaec2b6b648a80c0841dc9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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"