Package: freebsd-libs / 10.3~svn296373-10

libusb_pthread_condattr_setclock.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/lib/libusb/libusb10.c
+++ b/lib/libusb/libusb10.c
@@ -43,6 +43,11 @@
 #include <sys/endian.h>
 #endif
 
+/* Set the clock selected for the conditon variable attribute ATTR.  */
+extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
+                                      __clockid_t __clock_id)
+     __THROW __nonnull ((1));
+
 #define	libusb_device_handle libusb20_device
 
 #include "libusb20.h"