summaryrefslogtreecommitdiff
path: root/devel/android-tools-adb/files/patch-usb_libusb.c
blob: 8af304b4f29c4ed72161e6e3e5db3ccaae07f59d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- usb_libusb.c.orig	2013-08-01 17:14:17.000000000 +0800
+++ usb_libusb.c	2013-08-01 17:14:46.000000000 +0800
@@ -37,7 +37,7 @@
 #define   TRACE_TAG  TRACE_USB
 #include "adb.h"
 
-static adb_mutex_t usb_lock = ADB_MUTEX_INITIALIZER;
+ADB_MUTEX_DEFINE( usb_lock );
 static libusb_context *ctx = NULL;
 
 struct usb_handle