Re: [PATCH] usb: usbip: fix usbip.h path in userspace tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 04, 2014 at 01:31:17AM +0200, Piotr Król wrote:
> Fixes: 588b48caf65c ("usbip: move usbip userspace code out of staging")
> which introduced build failure by not changing uapi/usbip.h include path
> according to new location.
> 
> Signed-off-by: Piotr Król <piotr.krol@xxxxxxxxx>
> ---
>  tools/usb/usbip/libsrc/usbip_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/usb/usbip/libsrc/usbip_common.h b/tools/usb/usbip/libsrc/usbip_common.h
> index 5a0e95edf4df..a80e73d4f11e 100644
> --- a/tools/usb/usbip/libsrc/usbip_common.h
> +++ b/tools/usb/usbip/libsrc/usbip_common.h
> @@ -15,7 +15,7 @@
>  #include <syslog.h>
>  #include <unistd.h>
>  #include <linux/usb/ch9.h>
> -#include "../../uapi/usbip.h"
> +#include <../../../include/uapi/linux/usbip.h>

Shouldn't you be able to use the same "path" as ch9.h uses?  It's a uapi
.h file, no relative paths should be needed.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux