aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb20
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb20')
-rw-r--r--lib/libusb20/Makefile7
-rw-r--r--lib/libusb20/libusb20_compat01.c2
-rw-r--r--lib/libusb20/usb.h (renamed from lib/libusb20/libusb20_compat01.h)0
3 files changed, 5 insertions, 4 deletions
diff --git a/lib/libusb20/Makefile b/lib/libusb20/Makefile
index 0c0f18f1bfec..3eb437886022 100644
--- a/lib/libusb20/Makefile
+++ b/lib/libusb20/Makefile
@@ -4,7 +4,7 @@
# Makefile for the FreeBSD specific LibUSB 2.0
#
-LIB= usb20
+LIB= usb
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
SRCS= libusb20.c
@@ -14,11 +14,12 @@ SRCS+= libusb20_compat01.c
SRCS+= libusb20_compat10.c
INCS+= libusb20.h
INCS+= libusb20_desc.h
-INCS+= libusb20_compat01.h
-INCS+= libusb20_compat10.h
MAN= libusb20.3
MKLINT= no
NOGCCERROR=
+# libusb 0.1 compat
+INCS+= usb.h
+
.include <bsd.lib.mk>
diff --git a/lib/libusb20/libusb20_compat01.c b/lib/libusb20/libusb20_compat01.c
index 5d3f0d31584a..5e1e8e181f88 100644
--- a/lib/libusb20/libusb20_compat01.c
+++ b/lib/libusb20/libusb20_compat01.c
@@ -37,7 +37,7 @@
#include "libusb20.h"
#include "libusb20_desc.h"
#include "libusb20_int.h"
-#include "libusb20_compat01.h"
+#include "usb.h"
/*
* The two following macros were taken from the original LibUSB v0.1
diff --git a/lib/libusb20/libusb20_compat01.h b/lib/libusb20/usb.h
index 3963a9f0355c..3963a9f0355c 100644
--- a/lib/libusb20/libusb20_compat01.h
+++ b/lib/libusb20/usb.h