projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82af9f9
)
Linux: Do not include useless pthread.h
author
Ludovic Rousseau
<rousseau@debian.org>
Mon, 15 Nov 2010 13:45:50 +0000
(14:45 +0100)
committer
Peter Stuge
<peter@stuge.se>
Mon, 13 Jun 2011 20:06:31 +0000
(22:06 +0200)
The code does not use threads so no need to #include <pthread.h>
Fixes #74.
libusb/os/linux_usbfs.c
patch
|
blob
|
history
diff --git
a/libusb/os/linux_usbfs.c
b/libusb/os/linux_usbfs.c
index
72db57a
..
b392145
100644
(file)
--- a/
libusb/os/linux_usbfs.c
+++ b/
libusb/os/linux_usbfs.c
@@
-24,7
+24,6
@@
#include <errno.h>
#include <fcntl.h>
#include <poll.h>
-#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>