summaryrefslogtreecommitdiff
path: root/libusb/os/threads_posix.c
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2014-09-03 11:50:47 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2014-09-06 21:25:23 -0700
commitd8a2950f5409ee399c386b56301d49c61ee71fdf (patch)
tree0d3987717684f93c983878dd50bfd4ef5bfcc9e1 /libusb/os/threads_posix.c
parent8035a7748980704c439b5d729bed8a0d75d47046 (diff)
downloadlibusb-d8a2950f5409ee399c386b56301d49c61ee71fdf.tar.gz
core: Make use of headers consistent across all files
* Include config.h before anything else in all files * Remove unnecessary inclusion of libusb.h * Use angle brackets for system headers and quotes for local headers Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/threads_posix.c')
-rw-r--r--libusb/os/threads_posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/os/threads_posix.c b/libusb/os/threads_posix.c
index 95c1027..ec2d19a 100644
--- a/libusb/os/threads_posix.c
+++ b/libusb/os/threads_posix.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
+
#if defined(__linux__) || defined(__OpenBSD__)
# if defined(__linux__)
# define _GNU_SOURCE