Index: uspace/lib/usb/src/pipes.c
===================================================================
--- uspace/lib/usb/src/pipes.c	(revision ef7f0435c682bb46110ceb829704ce4b37f48b51)
+++ uspace/lib/usb/src/pipes.c	(revision da17cf0f62be93cfcd6ddcf6028b03a49898563d)
@@ -90,5 +90,5 @@
 
 leave:
-	ipc_hangup(hc_phone);
+	async_hangup(hc_phone);
 	return rc;
 }
@@ -211,5 +211,5 @@
 	}
 
-	int rc = ipc_hangup(pipe->hc_phone);
+	int rc = async_hangup(pipe->hc_phone);
 	if (rc != EOK) {
 		return rc;
Index: uspace/lib/usb/src/recognise.c
===================================================================
--- uspace/lib/usb/src/recognise.c	(revision ef7f0435c682bb46110ceb829704ce4b37f48b51)
+++ uspace/lib/usb/src/recognise.c	(revision da17cf0f62be93cfcd6ddcf6028b03a49898563d)
@@ -33,4 +33,5 @@
  * @brief Functions for recognising kind of attached devices.
  */
+#include <sys/types.h>
 #include <usb_iface.h>
 #include <usb/usbdrv.h>
Index: uspace/lib/usb/src/usbdrv.c
===================================================================
--- uspace/lib/usb/src/usbdrv.c	(revision ef7f0435c682bb46110ceb829704ce4b37f48b51)
+++ uspace/lib/usb/src/usbdrv.c	(revision da17cf0f62be93cfcd6ddcf6028b03a49898563d)
@@ -80,5 +80,5 @@
 	    IPC_M_USB_GET_HOST_CONTROLLER_HANDLE, &h);
 
-	ipc_hangup(parent_phone);
+	async_hangup(parent_phone);
 
 	if (rc != EOK) {
