aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/fix-headers.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-04 08:48:49 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-04 08:48:49 +0000
commit1296a3cb7e6a60473e54d3a69a910db7effb4acd (patch)
tree8418d7d6b1f7b71d37f47bffaf90f519bdd5023a /main/libusb-compat/fix-headers.patch
parent0771f8daf77be294e480ba9687f2211d0f660dc8 (diff)
downloadaports-1296a3cb7e6a60473e54d3a69a910db7effb4acd.tar.bz2
aports-1296a3cb7e6a60473e54d3a69a910db7effb4acd.tar.xz
main/libusb-compat: fix includes for public headers
Diffstat (limited to 'main/libusb-compat/fix-headers.patch')
-rw-r--r--main/libusb-compat/fix-headers.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/libusb-compat/fix-headers.patch b/main/libusb-compat/fix-headers.patch
new file mode 100644
index 0000000000..ea9cbc3497
--- /dev/null
+++ b/main/libusb-compat/fix-headers.patch
@@ -0,0 +1,10 @@
+--- libusb-compat-0.1.5.orig/libusb/usb.h
++++ libusb-compat-0.1.5/libusb/usb.h
+@@ -25,6 +25,7 @@
+ #ifndef __USB_H__
+ #define __USB_H__
+
++#include <sys/types.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <limits.h>